Skip to content

Commit 57f1af6

Browse files
committed
Adds github actions CI workflow
1 parent 8c8f93d commit 57f1af6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Node Unit Tests
2+
on: [push, pull_request]
3+
permissions: read-all
4+
jobs:
5+
build:
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
matrix:
9+
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
10+
node: ["18", "20", "22"]
11+
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
12+
steps:
13+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7
14+
- name: Setup node
15+
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 4.0.3
16+
with:
17+
node-version: ${{ matrix.node }}
18+
# cache: npm
19+
- run: npm install
20+
- run: npm test
21+
env:
22+
YARN_GPG: no

0 commit comments

Comments
 (0)