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 83989fd commit 9efec4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:

- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
registry-url: "https://registry.npmjs.org"
scope: "@secretkeylabs"

- name: Install dependencies
run: bun install --frozen-lockfile
Expand All @@ -43,8 +40,7 @@ jobs:

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

0 comments on commit 9efec4b

Please sign in to comment.