Skip to content

Commit 1b9a4b8

Browse files
committed
ci: adds github workflow to run tests
1 parent 6e94888 commit 1b9a4b8

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
branches-ignore:
4+
- "gh-pages"
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
11+
node: ["18", "22"]
12+
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Setup node
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: ${{ matrix.node }}
19+
- run: npm install
20+
- run: npm run lint
21+
- run: npm test
22+
env:
23+
YARN_GPG: no

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)