Skip to content

Commit

Permalink
Update publish-npm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YoavBZ authored Sep 10, 2024
1 parent 0c240cd commit 7fc1307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.RELEASE_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: '16.x'
Expand All @@ -29,8 +31,6 @@ jobs:
git add .
git commit -m "release $tag"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 7fc1307

Please sign in to comment.