Skip to content

Commit

Permalink
chore(ci): add NODE_AUTH_TOKEN to publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jun 10, 2021
1 parent 82a24e0 commit 07b61cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
npm test
env:
CI: true
NODE_AUTH_TOKEN: '${{ secrets.AUTH_TOKEN_FOR_GITHUBPKG }}'
NODE_AUTH_TOKEN: ${{ secrets.AUTH_TOKEN_FOR_GITHUBPKG }}
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
with:
node-version: 12
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.AUTH_TOKEN_FOR_GITHUBPKG }}
- run: npm test

publish-gpr:
Expand All @@ -26,6 +28,8 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.AUTH_TOKEN_FOR_GITHUBPKG }}
- name: publish
run: |
npm run release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- run: npm i -g npm@7
- run: npm install
env:
NODE_AUTH_TOKEN: '${{ secrets.AUTH_TOKEN_FOR_GITHUBPKG }}'
NODE_AUTH_TOKEN: ${{ secrets.AUTH_TOKEN_FOR_GITHUBPKG }}
# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
uses: chromaui/action@v1
Expand Down

0 comments on commit 07b61cd

Please sign in to comment.