-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (38 loc) · 1018 Bytes
/
basic-checks.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
name: Basic Checks
on: pull_request
jobs:
basic:
name: Linting and dependeny checks for client
runs-on: ubuntu-18.04
steps:
- name: checkout
uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "10.x"
- run: npm install
working-directory: ./client
- name: linter client
run: npm run lint
working-directory: ./client
- name: dependency-check client
run: npm audit
working-directory: ./client
- run: npm install
working-directory: ./api
- name: linter api
run: npm run lint
working-directory: ./api
- name: dependency-check api
run: npm audit
working-directory: ./api
docker:
name: Docker build
runs-on: ubuntu-18.04
steps:
- name: checkout
uses: actions/checkout@v1
- name: docker-build client
run: docker build ./client
- name: docker-build api
run: docker build ./api