Skip to content

Commit 39a0bc8

Browse files
committed
Add test action.
1 parent abb4c4f commit 39a0bc8

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,23 @@ jobs:
2323
run: npm install
2424
- name: Lint
2525
run: npm run lint
26+
test:
27+
runs-on: ubuntu-latest
28+
timeout-minutes: 360
29+
strategy:
30+
matrix:
31+
node-version: [20.x]
32+
steps:
33+
- uses: actions/checkout@v6
34+
with:
35+
persist-credentials: false
36+
- name: Use Node.js ${{ matrix.node-version }}
37+
uses: actions/setup-node@v6
38+
with:
39+
node-version: ${{ matrix.node-version }}
40+
- name: Install
41+
run: npm install
42+
- name: Fetch test suites
43+
run: npm run fetch-test-suites
44+
- name: Run test with Node.js ${{ matrix.node-version }}
45+
run: npm run test-node

0 commit comments

Comments
 (0)