@@ -18,10 +18,10 @@ jobs:
18
18
name : Lint
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/checkout@v4
21
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
22
23
23
- name : Install Node.js
24
- uses : actions/setup-node@v4
24
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
25
25
with :
26
26
node-version : ' lts/*'
27
27
39
39
node-version : [18, 19, 20, 21, 22, 23]
40
40
41
41
steps :
42
- - uses : actions/checkout@v4
42
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43
43
44
- - uses : actions/setup-node@v4
44
+ - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
45
45
with :
46
46
node-version : ${{ matrix.node-version }}
47
47
check-latest : true
53
53
run : npm run test-ci
54
54
55
55
- name : Upload code coverage
56
- uses : actions/upload-artifact@v4
56
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
57
57
with :
58
58
name : coverage-node-${{ matrix.node-version }}
59
59
path : ./coverage/lcov.info
@@ -66,13 +66,13 @@ jobs:
66
66
contents : read
67
67
checks : write
68
68
steps :
69
- - uses : actions/checkout@v4
69
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
70
70
71
71
- name : Install lcov
72
72
run : sudo apt-get -y install lcov
73
73
74
74
- name : Collect coverage reports
75
- uses : actions/download-artifact@v4
75
+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
76
76
with :
77
77
path : ./coverage
78
78
pattern : coverage-node-*
81
81
run : find ./coverage -name lcov.info -exec printf '-a %q\n' {} \; | xargs lcov -o ./lcov.info
82
82
83
83
- name : Upload coverage report
84
- uses : coverallsapp/github-action@v2
84
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
85
85
with :
86
86
file : ./lcov.info
0 commit comments