Fix #3363 #2889
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Run all checks | |
run: | | |
npm run check | |
- name: Check for misplaced console.log statements | |
run: | | |
npm run test-log-conventions | |
- name: Misc tests | |
run: | | |
npm run test-misc |