Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloemendaal committed Nov 7, 2023
1 parent be73c1f commit 7c74c4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-private-package:
name: Build and publish NodeJS package
needs: build
name: Build and publish a private NodeJS package
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -52,7 +53,7 @@ jobs:

- run: npm run build

- run: npm publish --new-version $TAG_NAME --tag latest --no-git-tag-version
- run: npm publish --new-version ${{ github.ref }} --tag latest --no-git-tag-version
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: ${{ github.ref }}

0 comments on commit 7c74c4f

Please sign in to comment.