-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (37 loc) · 960 Bytes
/
build.yml
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
name: Build
on: ["push", "pull_request"]
jobs:
building:
name: Building
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [18.x, 20.x]
experimental: [false]
include:
- os: ubuntu-latest
node: 19.x
experimental: true
- os: ubuntu-latest
node: 21.x
experimental: true
- os: windows-latest
node: 20.x
experimental: true
- os: macos-latest
node: 20.x
experimental: true
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install npm dependencies
run: npm install
- name: Build
run: npm run build