Skip to content

Commit e22edb3

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

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
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+
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+
- name: Checkout repo
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
- name: Setup node
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node }}
22+
- run: npm install
23+
- run: npm run lint
24+
- run: npm test
25+
env:
26+
YARN_GPG: no

.travis.yml

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

0 commit comments

Comments
 (0)