Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Commit 2c00da9

Browse files
committed
Update test workflow.
1 parent 458b662 commit 2c00da9

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,14 @@ on: [push, pull_request]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8-
98
strategy:
109
matrix:
11-
node-version: [10.x, 12.x]
12-
10+
node-version: [14, 16]
1311
steps:
1412
- uses: actions/checkout@v2
15-
- name: Use Node.js ${{ matrix.node-version }}
16-
uses: actions/setup-node@v1
13+
- uses: actions/setup-node@v2
1714
with:
1815
node-version: ${{ matrix.node-version }}
19-
- name: npm install, build, and test
20-
run: |
21-
npm install
22-
npm run build --if-present
23-
npm test
24-
env:
25-
CI: true
16+
- run: npm install
17+
- run: npm run build --if-present
18+
- run: npm run test

0 commit comments

Comments
 (0)