Skip to content

Commit 53304ce

Browse files
committed
fix: Forgot to change commands in Github Actions
1 parent 0bf2b37 commit 53304ce

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
name: ci
22

3-
env:
4-
DENO_VERSION: 1.x
5-
63
on: [push, pull_request]
74

5+
env:
6+
DENO_VERSION: 2.x
7+
88
jobs:
99
test:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@master
13-
- name: Install Deno
14-
uses: denoland/setup-deno@v1
12+
- uses: actions/checkout@v4
13+
- uses: denoland/setup-deno@v2
1514
with:
1615
deno-version: ${{ env.DENO_VERSION }}
17-
- name: Check fmt & lint & type check & test
18-
run: deno task check:dry
16+
- name: Check all
17+
run: deno task check

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: publish
33

44
env:
5-
DENO_VERSION: 1.x
5+
DENO_VERSION: 2.x
66

77
on:
88
push:
@@ -11,16 +11,15 @@ on:
1111

1212
permissions:
1313
contents: read
14-
id-token: write # The OIDC ID token is used for authentication with JSR.
14+
id-token: write
1515

1616
jobs:
1717
publish:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
- name: Install Deno
22-
uses: denoland/setup-deno@v1
21+
- uses: denoland/setup-deno@v2
2322
with:
2423
deno-version: ${{ env.DENO_VERSION }}
2524
- name: Publish on tag
26-
run: deno task publish
25+
run: deno run --allow-env --allow-run=deno --allow-read --allow-write=deno.jsonc jsr:@david/publish[email protected]

0 commit comments

Comments
 (0)