-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 992 Bytes
/
build-linux.yml
File metadata and controls
40 lines (36 loc) · 992 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
name: Production Build Linux
on:
push:
branches:
- "master"
paths:
- "src/**"
- "!src/test/**"
- ".github/workflows/**"
- "package.json"
- "package-lock.json"
pull_request:
paths:
- "src/**"
- "!src/test/**"
- ".github/workflows/**"
- "package.json"
- "package-lock.json"
jobs:
production-build-linux:
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP CI]')"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-18.04", "ubuntu-20.04", "ubuntu-latest"]
node: [14, 16]
steps:
- name: Checkout repository.
uses: actions/checkout@v2
- name: Setup the node js environment with version ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Run the build-full script to update packages and build the project.
run: npm run build-full