-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (34 loc) · 923 Bytes
/
test.yml
File metadata and controls
47 lines (34 loc) · 923 Bytes
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
name: Test
on:
push:
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system:
- ubuntu-latest
# logtalk-actions/setup-swi-prolog@master does not work with windows, so a different solution would be required
# - windows-latest
node-version:
- 20.x
- 22.x
- 24.x
steps:
- name: Checkout main branch
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Enable Node.js Corepack
run: corepack enable
- name: Yarn install
run: yarn install
- name: Test
run: yarn test