Skip to content

Commit 27ef89e

Browse files
authored
Update node.js.yml
1 parent 281e2cc commit 27ef89e

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.github/workflows/node.js.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,20 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
build:
14-
13+
test:
1514
runs-on: ubuntu-latest
1615

17-
strategy:
18-
matrix:
19-
node-version: [18.x, 20.x, 22.x]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21-
2216
steps:
23-
- uses: actions/checkout@v4
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm run build --if-present
31-
- run: npm test
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: '14'
24+
25+
- name: Install dependencies
26+
run: npm install
27+
28+
- name: Run Jest tests
29+
run: npm test

0 commit comments

Comments
 (0)