Skip to content

Commit

Permalink
Get the version update working for NPM.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorylavery committed Oct 29, 2024
1 parent e298840 commit 8cd3416
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: 20
- run: npm ci
- run: npm version patch
#- run: npm test

publish-npm:
needs: build
Expand All @@ -27,7 +27,9 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run:
npm version minor -m "[ci skip] v%s"
#- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 8cd3416

Please sign in to comment.