-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 940 Bytes
/
test-linux.yml
File metadata and controls
38 lines (34 loc) · 940 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
name: Production Test Linux
on:
push:
branches:
- "master"
paths:
- "src/**"
- ".github/workflows/**"
- "package.json"
- "package-lock.json"
pull_request:
paths:
- "src/**"
- ".github/workflows/**"
- "package.json"
- "package-lock.json"
jobs:
production-test-linux:
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP TEST]')"
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 test-full script to update packages and run the tests.
run: npm run test-full