Skip to content

Commit c97da69

Browse files
authored
Merge pull request #63 from MikeMcC399/add/ci-github-action
ci: add GitHub Actions workflow
2 parents 2b6476c + a248669 commit c97da69

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci-test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ci-test
2+
on: [push, pull_request]
3+
4+
jobs:
5+
6+
ps-tree-ci:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
node: [18, 20, 22, 23]
11+
os: [ubuntu-24.04, windows-2022, macos-14]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- name: Setup Node
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: ${{ matrix.node }}
18+
- run: node -v
19+
- run: npm -v
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
- run: npm ci
23+
- run: npm test
24+
- run: npm run coverage

0 commit comments

Comments
 (0)