Skip to content

Commit

Permalink
ci: fix npm-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
me committed Aug 28, 2024
1 parent f73183a commit 0932dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
env:
GOOGLE_PROJECT_ID: valued-clarity-241606
GOOGLE_APPLICATION_CREDENTIALS: ${{steps.google-github-actions-auth.outputs.credentials_file_path}}
- run: npm version $(jq -r '.version' package.json)-ls.$(git rev-parse --short HEAD)
- run: npm publish --provenance
- run: npm version $(jq -r '.version' package.json | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')-ls.$(git rev-parse --short HEAD)
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
CI: true
Expand Down

0 comments on commit 0932dba

Please sign in to comment.