Skip to content

Commit

Permalink
ci(release): update npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLenglet committed Jun 3, 2024
1 parent 2b0a7c0 commit a53fd3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cut-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

permissions:
contents: write
pull-requests: write

name: cut-and-release

Expand All @@ -16,7 +17,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
skip-github-pull-request: true

deploy-npm:
needs: release-please
Expand All @@ -27,6 +27,8 @@ jobs:
with:
node-version-file: ".nvmrc"
registry-url: https://registry.npmjs.org
- run: npm run build && npm publish
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a53fd3d

Please sign in to comment.