@@ -2,44 +2,35 @@ name: Tests
22on :
33 push :
44jobs :
5- typecheck :
5+ static-checks :
66 runs-on : ubuntu-latest
77 steps :
8- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
8+ - uses : actions/checkout@v5
99 - run : corepack enable
10- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
10+ - uses : actions/setup-node@v6
1111 with :
1212 cache : yarn
1313 - run : yarn
1414 - run : yarn tsc
15- # This command builds, and then prints files which would be included in the published package
16- - run : yarn pack --dry-run
17- lint :
18- runs-on : ubuntu-latest
19- steps :
20- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
21- - run : corepack enable
22- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
23- with :
24- node-version-file : package.json
25- cache : yarn
26- - run : yarn
2715 - run : yarn lint --max-warnings=0
16+ # This command builds and then prints files which would be included in the published package
17+ - run : yarn pack --dry-run
18+
2819 test :
2920 runs-on : ubuntu-latest
3021 strategy :
3122 matrix :
3223 node-version : [20, 22, 24]
3324 steps :
34- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
25+ - uses : actions/checkout@v5
3526 - run : corepack enable
36- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
27+ - uses : actions/setup-node@v6
3728 with :
3829 node-version : ${{ matrix.node-version }}
3930 cache : yarn
4031 - run : yarn
4132 - run : yarn test --coverage
42- - uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5
33+ - uses : codecov/codecov-action@v5
4334 with :
4435 flags : ' node_${{ matrix.node-version }}'
4536 env :
0 commit comments