Skip to content

Commit

Permalink
ci: jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed May 10, 2024
1 parent 0fa08e1 commit 377965f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/changesets.yml
@@ -1,7 +1,7 @@
name: Changesets
on:
push:
branches: [main, rc]
branches: [main]
workflow_dispatch:

concurrency:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/jsr.yml
@@ -0,0 +1,33 @@
name: JSR
on:
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
verify:
name: Verify
uses: ./.github/workflows/verify.yml
secrets: inherit

publish:
name: Publish
needs: verify
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
id-token: write

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies

- name: Publish package
run: pnpx jsr publish

0 comments on commit 377965f

Please sign in to comment.