forked from martpie/museeks
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (31 loc) · 1010 Bytes
/
qa.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
43
name: build
on: [push, pull_request]
jobs:
build:
# Let's implement different jobs for Windows and Linux at some point, especially for packaging scripts
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Display Node.js and npm informations
run: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
- name: Install dependencies
run: npm ci
- name: Rebuild native modules
run: npm run modules:rebuild
- name: 'Test: formatting'
run: 'npm run test:formatting'
- name: 'Test: TS/JS linting'
run: 'npm run test:lint'
- name: 'Test: CSS linting'
run: 'npm run test:css'
- name: Build application
run: npm run build