Skip to content

Commit 1b5ae60

Browse files
committed
ci: use deno
1 parent b30cb77 commit 1b5ae60

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

.github/workflows/jsr.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,25 @@ jobs:
1111
permissions:
1212
contents: read
1313
id-token: write
14+
1415
steps:
1516
- uses: actions/checkout@v5
17+
with:
18+
fetch-depth: 10
19+
20+
- uses: denoland/setup-deno@v2
21+
with:
22+
deno-version: v2.x
23+
24+
- uses: actions/cache@v4
25+
name: Set up Deno cache
26+
with:
27+
path: |
28+
~/.deno
29+
~/.cache/deno
30+
key: ${{ runner.os }}-deno-${{ hashFiles('**/pnpm-lock.yaml') }}
31+
1632
- run: |
17-
npx jsr install --pnpm
18-
npx jsr publish --dry-run
19-
npx jsr publish
33+
deno install --pnpm
34+
deno publish --dry-run
35+
deno publish

0 commit comments

Comments
 (0)