4
4
pull_request :
5
5
push :
6
6
branches :
7
- - " ** "
7
+ - ' ** '
8
8
tags :
9
- - " v**"
9
+ - ' v**'
10
10
11
11
env :
12
- DENO_VERSION : 1.46
12
+ DENO_VERSION : 2.2
13
13
14
14
jobs :
15
15
health :
16
16
name : Health
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v4
20
- - uses : denoland/setup-deno@v1
20
+ - uses : denoland/setup-deno@v2
21
21
with :
22
22
deno-version : ${{ env.DENO_VERSION }}
23
23
@@ -37,34 +37,34 @@ jobs:
37
37
matrix :
38
38
nodejs : [16, 18, 20, 22]
39
39
steps :
40
- - uses : actions/checkout@v4
41
- - uses : actions/setup-node@v4
42
- with :
43
- node-version : ${{ matrix.nodejs }}
44
- - uses : denoland/setup-deno@v1
45
- with :
46
- deno-version : ${{ env.DENO_VERSION }}
47
-
48
- - name : Prepare
49
- run : |
50
- deno task fixtures
51
- deno task build --quiet
52
- deno task pretest --quiet
53
-
54
- - name : Install
55
- working-directory : npm
56
- run : npm install
57
-
58
- - name : Run Tests
59
- working-directory : npm
60
- run : npm test
40
+ - uses : actions/checkout@v4
41
+ - uses : actions/setup-node@v4
42
+ with :
43
+ node-version : ${{ matrix.nodejs }}
44
+ - uses : denoland/setup-deno@v2
45
+ with :
46
+ deno-version : ${{ env.DENO_VERSION }}
47
+
48
+ - name : Prepare
49
+ run : |
50
+ deno task fixtures
51
+ deno task build --quiet
52
+ deno task pretest --quiet
53
+
54
+ - name : Install
55
+ working-directory : npm
56
+ run : npm install
57
+
58
+ - name : Run Tests
59
+ working-directory : npm
60
+ run : npm test
61
61
62
62
build :
63
63
name : Build
64
64
runs-on : ubuntu-latest
65
65
steps :
66
66
- uses : actions/checkout@v4
67
- - uses : denoland/setup-deno@v1
67
+ - uses : denoland/setup-deno@v2
68
68
with :
69
69
deno-version : ${{ env.DENO_VERSION }}
70
70
76
76
runs-on : ubuntu-latest
77
77
steps :
78
78
- uses : actions/checkout@v4
79
- - uses : denoland/setup-deno@v1
79
+ - uses : denoland/setup-deno@v2
80
80
with :
81
81
deno-version : ${{ env.DENO_VERSION }}
82
82
98
98
id-token : write # -> authentication
99
99
steps :
100
100
- uses : actions/checkout@v4
101
- - uses : denoland/setup-deno@v1
101
+ - uses : denoland/setup-deno@v2
102
102
with :
103
103
deno-version : ${{ env.DENO_VERSION }}
104
104
- uses : actions/setup-node@v4
@@ -113,14 +113,14 @@ jobs:
113
113
# if: ${{ !contains(github.ref, '-next.') }}
114
114
# run: deno publish --no-check -c jsr.json
115
115
116
- - name : " Publish → npm"
116
+ - name : ' Publish → npm'
117
117
if : ${{ !contains(github.ref, '-next.') }}
118
118
run : npm publish --provenance --access public
119
119
working-directory : ./npm
120
120
env :
121
121
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
122
122
123
- - name : " Publish → npm (pre-release)"
123
+ - name : ' Publish → npm (pre-release)'
124
124
if : ${{ contains(github.ref, '-next.') }}
125
125
run : npm publish --tag next --provenance --access public
126
126
working-directory : ./npm
0 commit comments