Skip to content

Commit 8dad725

Browse files
committed
Drop cache, use latest tags sha
1 parent b18d47e commit 8dad725

1 file changed

Lines changed: 9 additions & 21 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,12 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b
13+
# https://github.com/actions/checkout/releases/tag/v6.0.3
14+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
15+
# https://github.com/actions/setup-node/releases/tag/v6.4.0
16+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
1517
with:
16-
node-version: 12
17-
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
18-
with:
19-
path: |
20-
~/.cache/yarn
21-
node_modules
22-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
23-
restore-keys: |
24-
${{ runner.os }}-yarn-
18+
node-version: 24
2519
- run: yarn install --frozen-lockfile
2620
- run: yarn lint
2721

@@ -31,17 +25,11 @@ jobs:
3125
matrix:
3226
node-version: [8, 10, 12, 24]
3327
steps:
34-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
35-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b
28+
# https://github.com/actions/checkout/releases/tag/v6.0.3
29+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
30+
# https://github.com/actions/setup-node/releases/tag/v6.4.0
31+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
3632
with:
3733
node-version: ${{ matrix.node-version }}
38-
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
39-
with:
40-
path: |
41-
~/.cache/yarn
42-
node_modules
43-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
44-
restore-keys: |
45-
${{ runner.os }}-yarn-
4634
- run: yarn install --frozen-lockfile
4735
- run: yarn test

0 commit comments

Comments
 (0)