-
-
Notifications
You must be signed in to change notification settings - Fork 171
45 lines (42 loc) · 978 Bytes
/
basic-tests.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
44
45
name: Basic Code Checks
on:
push:
branches:
- master
pull_request:
paths-ignore:
- 'docs/**' # only trigger build if a file outside of /docs was changed
- 'README_ASSETS/**'
- '.prettierrc.yml'
- '.vscode/**'
jobs:
test:
name: Code Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: npm ci
run: |
npm ci
- name: preperation (generate code)
run: |
npm run build:shared:version
- name: Check Typescript Types
run: |
npm run check-types
- name: Run ESLint
run: |
npm run lint
- name: Check Formatting
run: |
npm run check-formatting
- name: Check for misplaced console.log statements
run: |
npm run test-log-conventions
- name: Misc tests
run: |
npm run test-misc