From e7c3d89f36ba6f0940fd248067dc1dec724e647e Mon Sep 17 00:00:00 2001 From: Miguel Ignacio Cabrera San Gil Date: Thu, 5 Sep 2024 23:37:01 +0100 Subject: [PATCH] chore(cd): improve CD process --- .github/workflows/release.yml | 12 ++++++++++-- release.config.cjs | 3 +++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5429b68..d8423cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,16 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "lts/*" - - run: npm ci - - run: npm run build + - name: CI Setup + run: npm ci + - name: Code Quality Checks + run: | + npm run lint + npm run format:check + - name: Build + run: npm run build + - name: Test + run: npm test - run: npm audit signatures - name: Release env: diff --git a/release.config.cjs b/release.config.cjs index bfdae6e..9410148 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -1,3 +1,6 @@ +/** + * @type {import('semantic-release').GlobalConfig} + */ module.exports = { branches: ['main', { name: 'beta', prerelease: true }], };