Skip to content

Commit

Permalink
Use NODE_AUTH_TOKEN for private deps
Browse files Browse the repository at this point in the history
  • Loading branch information
m-seidel committed Jun 5, 2024
1 parent 3b8d0d1 commit 3e481c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ jobs:
registry-url: 'https://npm.pkg.github.com/'
scope: '@staffbase'

- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.STAFFBOT_NPM_READ }}" >> samples/weather-forecast/.npmrc
# - run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.STAFFBOT_NPM_READ }}" >> samples/weather-forecast/.npmrc

- name: Yarn install
run: yarn install --cwd samples/weather-forecast --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.STAFFBOT_NPM_READ }}

- name: Build widget
run: yarn --cwd samples/weather-forecast build
Expand Down

0 comments on commit 3e481c4

Please sign in to comment.