Skip to content

Commit 1579e6a

Browse files
committed
ci: add registry-url for GitHub Packages auth
The setup-vp action needs registry-url to configure .npmrc auth for @void-sdk scoped packages on npm.pkg.github.com.
1 parent ee463bd commit 1579e6a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- uses: voidzero-dev/setup-vp@v1
1414
with:
1515
cache: true
16+
registry-url: https://npm.pkg.github.com
1617
env:
1718
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
1819
- run: vp check

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- uses: voidzero-dev/setup-vp@v1
1212
with:
1313
cache: true
14+
registry-url: https://npm.pkg.github.com
1415
env:
1516
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
1617
- run: vp void deploy

0 commit comments

Comments
 (0)