-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 898 Bytes
/
node.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
name: Node
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-2022
node-version: 14.x
- os: ubuntu-22.04
node-version: 14.x
- os: macos-latest
node-version: 14.x
steps:
- name: checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 #v4.0.0
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
# Leave tests commented out for now, since they are failing
#- run: npm test