Skip to content

Commit e96395a

Browse files
committed
Include auth for GHP registry
1 parent e27e316 commit e96395a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ jobs:
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
cache: 'npm'
26+
registry-url: 'https://npm.pkg.github.com'
2627
- if: runner.os == 'Linux'
2728
run: sudo apt-get install -y build-essential libgl1-mesa-dri libglapi-mesa
2829
libglew-dev libglu1-mesa-dev libosmesa6
2930
libxi-dev mesa-utils pkg-config
3031
- run: npm ci --ignore-scripts
32+
env:
33+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3134
- name: Prebuild and Publish
3235
shell: bash
3336
run: node ./node_modules/prebuild/bin.js -t ${{ matrix.target }} --strip --include-regex "\.(node|dll)$" -u ${{ secrets.GITHUB_TOKEN }} --verbose

0 commit comments

Comments
 (0)