Skip to content

Commit 10242c3

Browse files
authored
Merge pull request #469 from kibertoad/chore/ga
Add GitHub Actions
2 parents 9e52c3f + 1ca6ab8 commit 10242c3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)