-
-
Notifications
You must be signed in to change notification settings - Fork 30
28 lines (27 loc) · 716 Bytes
/
build-test.yml
File metadata and controls
28 lines (27 loc) · 716 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
name: Build on all the platforms
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
env:
webclient: ./js
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [10, 12]
name: ${{ matrix.os }} and node ${{ matrix.node }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
working-directory: ${{env.webclient}}
- name: Build Web client
run: npm run build:release
working-directory: ${{env.webclient}}