-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 975 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
name: build
on:
workflow_dispatch:
pull_request:
branches: ['master']
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
jobs:
build_and_test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
include:
- name: macOS
os: macos-14
steps:
- name: Installing OSX utils
if: ${{ matrix.name == 'macOS' }}
run: brew install osxutils
- name: Checking out code
uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
run: npm install
- name: Lint, install tests, and build package.
run: npm run build
- name: Perform single test run.
run: npm run test run