Skip to content

Commit

Permalink
ci: add jsr publish command to .gtihub workflows in @observerly/astro…
Browse files Browse the repository at this point in the history
…metry

ci: add jsr publish command to .gtihub workflows in @observerly/astrometry
  • Loading branch information
michealroberts committed Aug 11, 2024
1 parent 335099c commit a63cf98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_OBSERVERLY_PUBLIC_TOKEN }}

permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.

steps:
- name: Checkout 🛎
uses: actions/checkout@v4
Expand Down Expand Up @@ -55,3 +59,6 @@ jobs:
registry: 'https://registry.npmjs.org/'
access: 'public'
token: ${{ secrets.NPM_OBSERVERLY_PUBLIC_TOKEN }}

- name: Publish to JSR.io 🚀
run: npx jsr publish

0 comments on commit a63cf98

Please sign in to comment.