@@ -5,13 +5,13 @@ on: [push]
55jobs :
66 build :
77 name : " Deno tests and build npm files"
8- runs-on : ubuntu-22.04
8+ runs-on : ubuntu-latest
99 steps :
1010 - name : Checkout repo
1111 uses : actions/checkout@v3
1212
1313 - name : Setup Deno
14- uses : denoland/setup-deno@v1.1.1
14+ uses : denoland/setup-deno@v2
1515 with :
1616 deno-version : v1.x
1717
2727 run : deno task test:ci
2828
2929 - name : Setup Node
30- uses : actions/setup-node@v3
30+ uses : actions/setup-node@v4
3131 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
3333 registry-url : ' https://registry.npmjs.org'
3434
3535 - name : Build npm files
3939 run : zip npm.zip ./npm -r
4040
4141 - name : Upload build files for smoke tests
42- uses : actions/upload-artifact@v3
42+ uses : actions/upload-artifact@v4
4343 with :
4444 name : npm
4545 path : npm.zip
4848 smoke-tests-commonjs :
4949 name : " Smoke tests (CommonJS)"
5050 needs : build
51- runs-on : ubuntu-22.04
51+ runs-on : ubuntu-latest
5252 strategy :
5353 matrix :
5454 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:
6363
6464 steps :
6565 - name : Checkout repo
66- uses : actions/checkout@v3
66+ uses : actions/checkout@v4
6767
6868 - name : Setup Node
69- uses : actions/setup-node@v3
69+ uses : actions/setup-node@v4
7070 with :
7171 node-version : ${{ matrix.node-version }}
7272 registry-url : ' https://registry.npmjs.org'
7373
7474 - name : Download build files
75- uses : actions/download-artifact@v3
75+ uses : actions/download-artifact@v4
7676 with :
7777 name : npm
7878
@@ -90,22 +90,22 @@ jobs:
9090 smoke-tests-esm :
9191 name : " Smoke tests (ESM)"
9292 needs : build
93- runs-on : ubuntu-22.04
93+ runs-on : ubuntu-latest
9494 strategy :
9595 matrix :
9696 node-version : [14.x, 15.x, 16.x, 17.x, 18.x, 19.x]
9797 steps :
9898 - name : Checkout repo
99- uses : actions/checkout@v3
99+ uses : actions/checkout@v4
100100
101101 - name : Setup Node
102- uses : actions/setup-node@v3
102+ uses : actions/setup-node@v4
103103 with :
104104 node-version : ${{ matrix.node-version }}
105105 registry-url : ' https://registry.npmjs.org'
106106
107107 - name : Download build files
108- uses : actions/download-artifact@v3
108+ uses : actions/download-artifact@v4
109109 with :
110110 name : npm
111111
0 commit comments