Skip to content

Commit 0a11031

Browse files
authored
feat(tests): Replace Jest with Node Test Runner & add GHA CI (#48)
* feat(tests): Replace Jest with Node Test Runner * ci: Add GitHub Actions workflow to run tests
1 parent 3635b07 commit 0a11031

File tree

8 files changed

+1815
-4902
lines changed

8 files changed

+1815
-4902
lines changed

.github/workflows/ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Node CI
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'dependabot/**'
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
test:
13+
name: NodeJS ${{ matrix.node-version }} on macOS
14+
runs-on: macos-15
15+
strategy:
16+
matrix:
17+
node-version: [20.x, 22.x, 24.x]
18+
19+
permissions:
20+
contents: read
21+
security-events: write
22+
23+
steps:
24+
- uses: actions/checkout@v5
25+
26+
- uses: actions/setup-node@v6
27+
with:
28+
node-version: ${{ matrix.node-version }}
29+
30+
- name: Environment Information
31+
run: |
32+
node --version
33+
npm --version
34+
35+
- uses: github/codeql-action/init@v4
36+
with:
37+
tools: linked
38+
languages: javascript, actions
39+
queries: security-and-quality
40+
config: |
41+
paths-ignore:
42+
- coverage
43+
- node_modules
44+
45+
- name: npm install and test
46+
run: npm cit
47+
env:
48+
CI: true
49+
50+
- uses: github/codeql-action/analyze@v4

appveyor.yml

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

0 commit comments

Comments
 (0)