Skip to content

Commit

Permalink
Add missing token on Github Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
piranna committed Jul 28, 2023
1 parent 8a183ea commit 3e08a21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

# Install dependencies
- run: npm ci --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Run tests and publish code coverage badge
- run: npm run test:json
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
registry-url: https://registry.npmjs.org/

- run: npm ci --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm test

- run: npm publish
Expand Down

0 comments on commit 3e08a21

Please sign in to comment.