Skip to content

Commit

Permalink
Properly set NODE_AUTH_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
PadowYT2 committed Dec 9, 2023
1 parent 0d2e25b commit 5154781
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
strategy:
matrix:
node-version: [18]
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
with:
node-version: ${{ matrix.node-version }}

Expand Down Expand Up @@ -57,6 +57,4 @@ jobs:

- name: Publish react-icons
if: contains(github.ref, 'tags/')
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
run: npm publish packages/_react-icons/*.tgz

0 comments on commit 5154781

Please sign in to comment.