@@ -13,13 +13,16 @@ jobs:
1313 lint :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
1718 - name : Use Node.js
18- uses : actions/setup-node@v4
19+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
1920 with :
2021 node-version : lts/*
2122 cache : npm
23+
2224 - run : npm ci
25+
2326 - run : npm run lint
2427 test :
2528 strategy :
2932 node-version : [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
3033 runs-on : ${{ matrix.os }}
3134 steps :
32- - uses : actions/checkout@v4
33- - uses : actions/github-script@v7
35+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+
37+ - uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
3438 id : calculate_architecture
3539 with :
3640 result-encoding : string
@@ -40,23 +44,28 @@ jobs:
4044 } else {
4145 return ''
4246 }
47+
4348 - name : Use Node.js ${{ matrix.node-version }}
44- uses : actions/setup-node@v4
49+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4550 with :
4651 node-version : ${{ matrix.node-version }}
4752 architecture : ${{ steps.calculate_architecture.outputs.result }}
4853 cache : npm
54+
4955 - name : Install dependencies
5056 run : |
5157 npm install -D typescript@^4 jest@^27 memfs@^3 --ignore-scripts
5258 npm install --ignore-scripts
5359 if : matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x' || matrix.node-version == '16.x'
60+
5461 - name : Install dependencies
5562 run : npm ci
5663 if : matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x' && matrix.node-version != '16.x'
64+
5765 - name : Run tests with coverage
5866 run : npm run test:coverage -- --ci
59- - uses : codecov/codecov-action@v5
67+
68+ - uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
6069 with :
6170 flags : integration
6271 token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments