Skip to content

Commit

Permalink
ci: make env global
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenali committed Jan 15, 2024
1 parent 95fec5f commit 911ea42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
release:
types: [created]

env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,5 +39,4 @@ jobs:
- run: git push --tags && git push
- run: yarn publish
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 911ea42

Please sign in to comment.