@@ -16,10 +16,10 @@ jobs:
16
16
name : Lint
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v4
19
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20
20
21
21
- name : Install Node.js
22
- uses : actions/setup-node@v4
22
+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
23
23
with :
24
24
node-version : ' lts/*'
25
25
38
38
node-version : [18, 19, 20, 21, 22, 23]
39
39
40
40
steps :
41
- - uses : actions/checkout@v4
41
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42
42
43
- - uses : actions/setup-node@v4
43
+ - uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
44
44
with :
45
45
node-version : ${{ matrix.node-version }}
46
46
check-latest : true
52
52
run : npm run test-ci
53
53
54
54
- name : Upload code coverage
55
- uses : actions/upload-artifact@v4
55
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
56
56
with :
57
57
name : coverage-node-${{ matrix.node-version }}
58
58
path : ./coverage/lcov.info
@@ -65,14 +65,14 @@ jobs:
65
65
contents : read
66
66
checks : write
67
67
steps :
68
- - uses : actions/checkout@v4
68
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
69
69
70
70
- name : Install lcov
71
71
shell : bash
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-*
82
82
run : find ./coverage -name lcov.info -exec printf '-a %q\n' {} \; | xargs lcov -o ./lcov.info
83
83
84
84
- name : Upload coverage report
85
- uses : coverallsapp/github-action@v2
85
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
86
86
with :
87
87
file : ./lcov.info
0 commit comments