23
23
- uses : actions/checkout@v4
24
24
with :
25
25
fetch-depth : 2
26
- - uses : dorny/paths-filter@v3
26
+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
27
27
id : filter
28
28
with :
29
29
filters : |
53
53
node-version : [lts/*]
54
54
55
55
steps :
56
- - uses : actions/checkout@v3
56
+ - uses : actions/checkout@v4
57
57
- name : Use Node.js ${{ matrix.node-version }}
58
- uses : actions/setup-node@v3
58
+ uses : actions/setup-node@v4
59
59
with :
60
60
node-version : ${{ matrix.node-version }}
61
61
- name : Install Dependencies
77
77
node-version : [lts/*]
78
78
79
79
steps :
80
- - uses : actions/checkout@v3
80
+ - uses : actions/checkout@v4
81
81
- name : Use Node.js ${{ matrix.node-version }}
82
- uses : actions/setup-node@v3
82
+ uses : actions/setup-node@v4
83
83
with :
84
84
node-version : ${{ matrix.node-version }}
85
85
- name : Install Dependencies
@@ -101,17 +101,17 @@ jobs:
101
101
node-version : [16.x, 18.x, 20.x]
102
102
103
103
steps :
104
- - uses : actions/checkout@v3
104
+ - uses : actions/checkout@v4
105
105
- name : Use Node.js ${{ matrix.node-version }}
106
- uses : actions/setup-node@v3
106
+ uses : actions/setup-node@v4
107
107
with :
108
108
node-version : ${{ matrix.node-version }}
109
109
- name : Install Dependencies
110
110
run : npm install
111
111
- name : Run Unit Tests
112
112
run : npm run unit
113
113
- name : Archive Unit Test Coverage
114
- uses : actions/upload-artifact@v3
114
+ uses : actions/upload-artifact@v4
115
115
with :
116
116
name : unit-tests-${{ matrix.node-version }}
117
117
path : ./coverage/unit/lcov.info
@@ -133,9 +133,9 @@ jobs:
133
133
node-version : [16.x, 18.x, 20.x]
134
134
135
135
steps :
136
- - uses : actions/checkout@v3
136
+ - uses : actions/checkout@v4
137
137
- name : Use Node.js ${{ matrix.node-version }}
138
- uses : actions/setup-node@v3
138
+ uses : actions/setup-node@v4
139
139
with :
140
140
node-version : ${{ matrix.node-version }}
141
141
- name : Install Dependencies
@@ -145,14 +145,14 @@ jobs:
145
145
- name : Run ESM Integration Tests
146
146
run : npm run integration:esm
147
147
- name : Archive Integration Test Coverage
148
- uses : actions/upload-artifact@v3
148
+ uses : actions/upload-artifact@v4
149
149
with :
150
- name : integration-tests-${{ matrix.node-version }}
150
+ name : integration-tests-cjs- ${{ matrix.node-version }}
151
151
path : ./coverage/integration/lcov.info
152
152
- name : Archive Integration (ESM) Test Coverage
153
- uses : actions/upload-artifact@v3
153
+ uses : actions/upload-artifact@v4
154
154
with :
155
- name : integration-tests-${{ matrix.node-version }}
155
+ name : integration-tests-esm- ${{ matrix.node-version }}
156
156
path : ./coverage/integration-esm/lcov.info
157
157
158
158
versioned-internal :
@@ -169,9 +169,9 @@ jobs:
169
169
node-version : [16.x, 18.x, 20.x]
170
170
171
171
steps :
172
- - uses : actions/checkout@v3
172
+ - uses : actions/checkout@v4
173
173
- name : Use Node.js ${{ matrix.node-version }}
174
- uses : actions/setup-node@v3
174
+ uses : actions/setup-node@v4
175
175
with :
176
176
node-version : ${{ matrix.node-version }}
177
177
- name : Install Dependencies
@@ -186,21 +186,21 @@ jobs:
186
186
JOBS : ${{ github.ref == 'refs/heads/main' && vars.NR_RUNNER && 16 || 4 }}
187
187
C8_REPORTER : lcovonly
188
188
- name : Archive Versioned Test Coverage
189
- uses : actions/upload-artifact@v3
189
+ uses : actions/upload-artifact@v4
190
190
with :
191
191
name : versioned-tests-${{ matrix.node-version }}
192
192
path : ./coverage/versioned/lcov.info
193
193
- name : Collect docker logs on failure
194
194
if : failure()
195
- uses : jwalton/gh-docker-logs@v2
195
+ uses : jwalton/gh-docker-logs@2741064ab9d7af54b0b1ffb6076cf64c16f0220e
196
196
with :
197
197
dest : ./logs-${{ matrix.node-version }}
198
198
- name : Tar logs
199
199
if : failure()
200
200
run : tar cvzf ./logs-${{ matrix.node-version }}.tgz ./logs-${{ matrix.node-version }}
201
201
- name : Upload logs to GitHub
202
202
if : failure()
203
- uses : actions/upload-artifact@master
203
+ uses : actions/upload-artifact@v4
204
204
with :
205
205
name : logs-${{ matrix.node-version }}.tgz
206
206
path : ./logs-${{ matrix.node-version }}.tgz
@@ -220,9 +220,9 @@ jobs:
220
220
node-version : [16.x, 18.x, 20.x]
221
221
222
222
steps :
223
- - uses : actions/checkout@v3
223
+ - uses : actions/checkout@v4
224
224
- name : Use Node.js ${{ matrix.node-version }}
225
- uses : actions/setup-node@v3
225
+ uses : actions/setup-node@v4
226
226
with :
227
227
node-version : ${{ matrix.node-version }}
228
228
- name : Install Dependencies
@@ -243,23 +243,23 @@ jobs:
243
243
node-version : [16.x, 18.x, 20.x]
244
244
245
245
steps :
246
- - uses : actions/checkout@v3
246
+ - uses : actions/checkout@v4
247
247
- name : Download artifacts
248
- uses : actions/download-artifact@v3
248
+ uses : actions/download-artifact@v4
249
249
- name : Post Unit Test Coverage
250
- uses : codecov/codecov-action@v3
250
+ uses : codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c
251
251
with :
252
252
token : ${{ secrets.CODECOV_TOKEN }}
253
253
directory : unit-tests-${{ matrix.node-version }}
254
254
flags : unit-tests-${{ matrix.node-version }}
255
255
- name : Post Integration Test Coverage
256
- uses : codecov/codecov-action@v3
256
+ uses : codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c
257
257
with :
258
258
token : ${{ secrets.CODECOV_TOKEN }}
259
259
directory : integration-tests-${{ matrix.node-version }}
260
260
flags : integration-tests-${{ matrix.node-version }}
261
261
- name : Post Versioned Test Coverage
262
- uses : codecov/codecov-action@v3
262
+ uses : codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c
263
263
with :
264
264
token : ${{ secrets.CODECOV_TOKEN }}
265
265
directory : versioned-tests-${{ matrix.node-version }}
0 commit comments