Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ghandic committed Aug 22, 2024
1 parent 21d7113 commit 7c32602
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
build-and-publish:
runs-on: ubuntu-latest
environment: production
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -29,6 +32,9 @@ jobs:
run: pnpm run build

- name: Publish to npm
run: pnpm publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish to jsr
run: pnpm jsr:publish

0 comments on commit 7c32602

Please sign in to comment.