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

Commit 2b482ae

Browse files
committed
Make workflow for running tests
1 parent 66d6624 commit 2b482ae

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
'on':
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
test:
12+
name: 'Node.js v${{ matrix.node }}'
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node:
17+
- 16
18+
- 17
19+
steps:
20+
- uses: actions/setup-node@v1
21+
with:
22+
node-version: '${{ matrix.node }}'
23+
- uses: actions/checkout@v2
24+
- name: Install Dependencies
25+
run: npm ci
26+
- name: Run All Node.js Tests
27+
run: npm test

0 commit comments

Comments
 (0)