44 - push
55 - pull_request
66
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
711jobs :
812 ci :
913 name : Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
@@ -12,31 +16,25 @@ jobs:
1216 node :
1317 - 18
1418 - 20
19+ - 22
1520 os :
1621 - macos-latest
17- - windows-latest
1822 - ubuntu-latest
23+ - windows-latest
24+ fail-fast : false
1925 runs-on : ${{ matrix.os }}
2026 steps :
2127 - name : Checkout Repo
22- uses : actions/checkout@v4
23-
24- - name : Enable Corepack
25- run : corepack enable
28+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2629
2730 - name : Setup Node.js ${{ matrix.node }}
28- uses : actions/setup-node@v4
31+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2932 with :
3033 node-version : ${{ matrix.node }}
3134 cache : yarn
32- env :
33- # https://github.com/actions/setup-node/issues/531#issuecomment-1819151412
34- SKIP_YARN_COREPACK_CHECK : 1
3535
3636 - name : Install Dependencies
3737 run : yarn --immutable
38- env :
39- SKIP_YARN_COREPACK_CHECK : 1
4038
4139 - name : Build, Lint and Test
4240 run : |
4543 yarn test
4644 yarn typecov
4745 env :
48- EFF_NO_LINK_RULES : true
4946 PARSER_NO_WATCH : true
50- SKIP_YARN_COREPACK_CHECK : 1
5147
5248 - name : Codecov
53- uses : codecov/codecov-action@v3
49+ uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5
50+ with :
51+ token : ${{ secrets.CODECOV_TOKEN }}
52+
53+ - name : Run codacy-coverage-reporter
54+ uses : codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
55+ with :
56+ api-token : ${{ secrets.CODACY_API_TOKEN }}
0 commit comments