Skip to content

Commit

Permalink
Fix env in publish step of release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Jun 1, 2024
1 parent db84f5e commit 2ab5346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- run: nix develop --command npm run build
- run: nix develop --command npm run bundle
- run: ls -lhR dist
- run: nix develop --command npm publish --tag next
- run: nix develop --ignore-environment --keep NODE_AUTH_TOKEN --command npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- run: nix develop --command npm run build
- run: nix develop --command npm run bundle
- run: ls -lhR dist
- run: nix develop --command npm publish
- run: nix develop --ignore-environment --keep NODE_AUTH_TOKEN --command npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 2ab5346

Please sign in to comment.