Skip to content

Commit ca7c8ce

Browse files
committed
fix: provide NPM_AUTH_TOKEN
1 parent c58af5b commit ca7c8ce

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
working-directory: ./packages/scratch-gui
101101
env:
102102
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for publishing private npm packages
103+
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for viewing private npm packages
103104
run: |
104105
RELEASE_VERSION="0.1.0-experience-cs.$(date +'%Y%m%d%H%M%S')"
105106
npm version --no-git-tag-version $RELEASE_VERSION

packages/scratch-gui/.npmrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@RaspberryPiFoundation:registry=https://npm.pkg.github.com
2+
//npm.pkg.github.com/:_authToken=${NPM_AUTH_TOKEN}
3+
strict-peer-deps=true
4+
engine-strict=true
5+
loglevel=error

0 commit comments

Comments
 (0)