Skip to content

Commit

Permalink
feat(ci): fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
maddocnc committed Oct 23, 2023
1 parent 7e35f58 commit dd21156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm i @semantic-release/changelog @semantic-release/npm @semantic-release/github @semantic-release/git
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:

- run: npm ci

- run: npm i @semantic-release/changelog @semantic-release/npm @semantic-release/github @semantic-release/git

- name: Release
run: npx semantic-release --branches main
env:
Expand Down

0 comments on commit dd21156

Please sign in to comment.