Skip to content

Commit

Permalink
ci: add node auth token to more steps in publish ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mikonse committed Jun 28, 2024
1 parent b52a2f7 commit b341bd1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ jobs:
node-version: "20"
cache: "npm"
cache-dependency-path: package-lock.json
registry-url: https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}

- name: Install node dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}

- name: Set up Python with PDM
uses: pdm-project/setup-pdm@v3
Expand Down

0 comments on commit b341bd1

Please sign in to comment.