Skip to content

Commit

Permalink
ci: limit NODE_AUTH_TOKEN environment to publish step (N8N-11)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaSpeng authored and SvenSonnborn committed Jun 18, 2024
1 parent 53cca5f commit c339d4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ permissions:
contents: write

env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_VERSION: 20.13.1

jobs:
Expand Down Expand Up @@ -56,6 +55,8 @@ jobs:
npx nx release \
--projects=${{ steps.extract_package.outputs.package }} \
--yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push tags
run: git push origin --follow-tags

0 comments on commit c339d4a

Please sign in to comment.