Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Sep 2, 2024
1 parent cfec95a commit 83989fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
run: bun run ci

- name: Publish to NPM package registry
run: bunx npm@latest publish --access=public --tag=latest
# https://github.com/oven-sh/bun/issues/1976
run: bunx npm@latest publish --scope="@secretkeylabs" --registry="https://registry.npmjs.org/" --access=public --tag=latest
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

- name: Publish to NPM package registry
# https://github.com/oven-sh/bun/issues/1976
run: bunx npm@latest publish --access=public --tag pr-$PR_NUMBER
run: bunx npm@latest publish --scope="@secretkeylabs" --registry="https://registry.npmjs.org/" --access=public --tag pr-$PR_NUMBER
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
PR_NUMBER: ${{ github.event.number }}

0 comments on commit 83989fd

Please sign in to comment.