Skip to content

Commit 6148161

Browse files
committed
Add github actions CI
1 parent 0a734f8 commit 6148161

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
build:
12+
strategy:
13+
matrix:
14+
node-version: [10.x, 20.x, 22.x, 24.x, 25.x]
15+
fail-fast: false
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout Repository
21+
uses: actions/checkout@v6
22+
23+
- name: Use Nodejs ${{ matrix.node-version }}
24+
uses: actions/setup-node@v6
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
28+
- name: Install dependencies
29+
run: npm install
30+
31+
- name: Run Tests
32+
run: npm test

0 commit comments

Comments
 (0)