Skip to content

Commit b850358

Browse files
committed
improve ci
1 parent 5c35733 commit b850358

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/main.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ on:
1111
jobs:
1212
lint:
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 5
1415
steps:
1516
- uses: actions/checkout@v4
1617

17-
- id: nvm
18-
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
19-
20-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
2119
with:
22-
node-version: '${{ steps.nvm.outputs.NVMRC }}'
23-
cache: yarn
20+
node-version-file: .nvmrc
21+
cache: npm
2422

2523
- run: npm ci
2624

0 commit comments

Comments
 (0)