Skip to content

Commit 537ac42

Browse files
authored
Merge pull request #15 from lumirlumir/master
fix: `.github/workflows/tidory.yml` CI environment
2 parents 5d12a94 + 830923b commit 537ac42

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/tidory.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: actions/setup-node@v2
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 12
17-
- run: npm install
16+
node-version: 20
17+
cache: npm
18+
- uses: actions/cache@v4
19+
with:
20+
path: ~/.npm
21+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
22+
- run: npm ci
1823
- run: npm run lint
1924
- run: npm run production

0 commit comments

Comments
 (0)