File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11name : ci
22
3- env :
4- DENO_VERSION : 1.x
5-
63on : [push, pull_request]
74
5+ env :
6+ DENO_VERSION : 2.x
7+
88jobs :
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
Original file line number Diff line number Diff line change 22name : publish
33
44env :
5- DENO_VERSION : 1 .x
5+ DENO_VERSION : 2 .x
66
77on :
88 push :
1111
1212permissions :
1313 contents : read
14- id-token : write # The OIDC ID token is used for authentication with JSR.
14+ id-token : write
1515
1616jobs :
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]
You can’t perform that action at this time.
0 commit comments