Skip to content

Commit a185e7f

Browse files
committed
Add testing workflow
1 parent 0c7c74f commit a185e7f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)