@@ -5,13 +5,13 @@ on: [push]
5
5
jobs :
6
6
build :
7
7
name : " Deno tests and build npm files"
8
- runs-on : ubuntu-22.04
8
+ runs-on : ubuntu-latest
9
9
steps :
10
10
- name : Checkout repo
11
11
uses : actions/checkout@v3
12
12
13
13
- name : Setup Deno
14
- uses : denoland/setup-deno@v1.1.1
14
+ uses : denoland/setup-deno@v2
15
15
with :
16
16
deno-version : v1.x
17
17
27
27
run : deno task test:ci
28
28
29
29
- name : Setup Node
30
- uses : actions/setup-node@v3
30
+ uses : actions/setup-node@v4
31
31
with :
32
- node-version : ' 18 .x' # Build files using a fixed node version
32
+ node-version : ' 22 .x' # Build files using a fixed node version
33
33
registry-url : ' https://registry.npmjs.org'
34
34
35
35
- name : Build npm files
39
39
run : zip npm.zip ./npm -r
40
40
41
41
- name : Upload build files for smoke tests
42
- uses : actions/upload-artifact@v3
42
+ uses : actions/upload-artifact@v4
43
43
with :
44
44
name : npm
45
45
path : npm.zip
48
48
smoke-tests-commonjs :
49
49
name : " Smoke tests (CommonJS)"
50
50
needs : build
51
- runs-on : ubuntu-22.04
51
+ runs-on : ubuntu-latest
52
52
strategy :
53
53
matrix :
54
54
node-version : [7.x, 8.x, 9.x, 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x, 18.x, 19.x]
@@ -63,16 +63,16 @@ jobs:
63
63
64
64
steps :
65
65
- name : Checkout repo
66
- uses : actions/checkout@v3
66
+ uses : actions/checkout@v4
67
67
68
68
- name : Setup Node
69
- uses : actions/setup-node@v3
69
+ uses : actions/setup-node@v4
70
70
with :
71
71
node-version : ${{ matrix.node-version }}
72
72
registry-url : ' https://registry.npmjs.org'
73
73
74
74
- name : Download build files
75
- uses : actions/download-artifact@v3
75
+ uses : actions/download-artifact@v4
76
76
with :
77
77
name : npm
78
78
@@ -90,22 +90,22 @@ jobs:
90
90
smoke-tests-esm :
91
91
name : " Smoke tests (ESM)"
92
92
needs : build
93
- runs-on : ubuntu-22.04
93
+ runs-on : ubuntu-latest
94
94
strategy :
95
95
matrix :
96
96
node-version : [14.x, 15.x, 16.x, 17.x, 18.x, 19.x]
97
97
steps :
98
98
- name : Checkout repo
99
- uses : actions/checkout@v3
99
+ uses : actions/checkout@v4
100
100
101
101
- name : Setup Node
102
- uses : actions/setup-node@v3
102
+ uses : actions/setup-node@v4
103
103
with :
104
104
node-version : ${{ matrix.node-version }}
105
105
registry-url : ' https://registry.npmjs.org'
106
106
107
107
- name : Download build files
108
- uses : actions/download-artifact@v3
108
+ uses : actions/download-artifact@v4
109
109
with :
110
110
name : npm
111
111
0 commit comments