Skip to content

Commit

Permalink
chore(cd): improve CD process
Browse files Browse the repository at this point in the history
  • Loading branch information
myugen committed Sep 5, 2024
1 parent 05b8592 commit e7c3d89
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
module.exports = {
branches: ['main', { name: 'beta', prerelease: true }],
};

0 comments on commit e7c3d89

Please sign in to comment.