Skip to content

Commit cf4e8b8

Browse files
committed
Fix GHA workflow
1 parent 332a15c commit cf4e8b8

File tree

1 file changed

+6
-21
lines changed

1 file changed

+6
-21
lines changed

.github/workflows/check-test.yaml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,10 @@ jobs:
99
name: Check and Test
1010
runs-on: 'ubuntu-latest'
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
fetch-depth: 0
16-
17-
- name: Setup Node.js Environment
18-
uses: actions/setup-node@v2
19-
with:
20-
node-version: ^14
21-
cache: 'npm'
22-
23-
- name: Install npm@7
24-
run: npm install -g npm@7
25-
26-
- name: Install Dependencies
27-
run: npm ci
28-
29-
- name: Run Checks
30-
run: npm run check
31-
32-
- name: Run Tests
33-
run: npm run test
15+
node-version: lts/jod
16+
- run: npm ci
17+
- run: npm run check
18+
- run: npm test

0 commit comments

Comments
 (0)