Skip to content

Commit

Permalink
Add github registry
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Sep 27, 2024
1 parent 4c69d49 commit 366bf1e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-publish-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:

- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
registry-url: https://npm.pkg.github.com
scope: '@secretkeylabs'

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

- name: Run build
run: npm run build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build-and-publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ jobs:

- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
registry-url: https://npm.pkg.github.com
scope: '@secretkeylabs'

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

- name: Run build
run: npm run build
Expand Down

0 comments on commit 366bf1e

Please sign in to comment.