Skip to content

Commit a744da0

Browse files
committed
chore: add github actions test job
1 parent ecdf6cc commit a744da0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Tests
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [12.x, 14.x, 15.x, 16.x., 18.x]
12+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
22+
- name: Install dependencies
23+
run: npm install
24+
25+
- name: Test execution
26+
run: npm test

0 commit comments

Comments
 (0)