Skip to content

Commit 0cfe729

Browse files
committed
Check in GitHub Actions whether the package is ready for JSR
1 parent 3a651ce commit 0cfe729

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/code_check.yml

+11
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,14 @@ jobs:
3939
- run: pnpm install
4040
- name: Build
4141
run: pnpm run build
42+
jsr:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v4
46+
- uses: pnpm/action-setup@v4
47+
- uses: actions/setup-node@v4
48+
with:
49+
node-version: 20
50+
cache: pnpm
51+
- run: pnpm install
52+
- run: pnpm dlx jsr publish --dry-run

0 commit comments

Comments
 (0)