-
-
Notifications
You must be signed in to change notification settings - Fork 4
54 lines (49 loc) · 1.34 KB
/
test.yml
File metadata and controls
54 lines (49 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Test
on: [push, pull_request]
permissions: read-all
jobs:
test_linux:
name: Test - Ubuntu Node 24
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
steps:
- name: Checkout Code
uses: actions/checkout@v6
- uses: actions/setup-node@v6.1.0
with:
node-version: "${{ matrix.node-version }}"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies and link
run: npm ci && npm link
- name: Run tests
run: npm run test
test_windows:
name: Test - Windows
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v6
- uses: actions/setup-node@v6.1.0
with:
node-version: "24.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies and link
run: npm ci && npm link
- name: Run tests
run: npm run test
test_mac:
name: Test - MacOs
runs-on: macos-latest
steps:
- name: Checkout Code
uses: actions/checkout@v6
- uses: actions/setup-node@v6.1.0
with:
node-version: "24.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies and link
run: npm ci && npm link
- name: Run tests
run: npm run test