24
24
name : Lint
25
25
runs-on : ubuntu-latest
26
26
steps :
27
- - uses : actions/checkout@v4
27
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28
28
- name : Setup Node.js
29
- uses : actions/setup-node@v4
29
+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
30
30
with :
31
31
node-version : ' lts/*'
32
32
@@ -113,31 +113,34 @@ jobs:
113
113
114
114
- name : Node.js 8.x
115
115
node-version : " 8"
116
-
116
+
117
117
118
118
- name : Node.js 9.x
119
119
node-version : " 9"
120
-
120
+
121
121
122
122
- name : Node.js 10.x
123
123
node-version : " 10"
124
-
124
+
125
125
126
126
- name : Node.js 11.x
127
127
node-version : " 11"
128
-
128
+
129
129
130
130
- name : Node.js 12.x
131
131
node-version : " 12"
132
+
132
133
133
134
- name : Node.js 13.x
134
135
node-version : " 13"
136
+
135
137
136
138
- name : Node.js 14.x
137
139
node-version : " 14"
138
140
139
141
- name : Node.js 15.x
140
142
node-version : " 15"
143
+
141
144
142
145
- name : Node.js 16.x
143
146
node-version : " 16"
@@ -164,7 +167,7 @@ jobs:
164
167
node-version : " 23"
165
168
166
169
steps :
167
- - uses : actions/checkout@v4
170
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
168
171
169
172
- name : Install Node.js ${{ matrix.node-version }}
170
173
shell : bash -eo pipefail -l {0}
@@ -229,7 +232,7 @@ jobs:
229
232
230
233
- name : Upload code coverage
231
234
if : steps.list_env.outputs.nyc != ''
232
- uses : actions/upload-artifact@v4
235
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
233
236
with :
234
237
name : coverage-node-${{ matrix.node-version }}
235
238
path : ./coverage/lcov.info
@@ -242,14 +245,14 @@ jobs:
242
245
contents : read
243
246
checks : write
244
247
steps :
245
- - uses : actions/checkout@v4
248
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
246
249
247
250
- name : Install lcov
248
251
shell : bash
249
252
run : sudo apt-get -y install lcov
250
253
251
254
- name : Collect coverage reports
252
- uses : actions/download-artifact@v4
255
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
253
256
with :
254
257
path : ./coverage
255
258
pattern : coverage-node-*
@@ -259,7 +262,7 @@ jobs:
259
262
run : find ./coverage -name lcov.info -exec printf '-a %q\n' {} \; | xargs lcov -o ./lcov.info
260
263
261
264
- name : Upload coverage report
262
- uses : coverallsapp/github-action@v2
265
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
263
266
with :
264
267
github-token : ${{ secrets.GITHUB_TOKEN }}
265
268
file : ./lcov.info
0 commit comments