Bump express from 4.17.1 to 4.19.2 in /client #97
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: Lint | |
on: [push] | |
jobs: | |
build: | |
name: "Linting" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create .env file | |
run: cd client; touch .env; echo SKIP_PREFLIGHT_CHECK=true >> .env; cat .env | |
- name: Maven compile | |
run: mvn package | |
- name: install node dependencies | |
if: always() | |
run: cd client; yarn install | |
- name: Validate CSS | |
if: always() | |
run: find client/src -name *.css | xargs client/node_modules/css-validator/bin/css-validator | |
- name: Validate JavaScript | |
if: always() | |
run: find client/src -name *.js | xargs client/node_modules/eslint/bin/eslint.js | |
- name: Check CSS Formatting | |
if: always() | |
run: find client/src -name *.css | xargs client/node_modules/prettier/bin-prettier.js --check | |
- name: Check Java Formatting | |
if: always() | |
run: diff -u <(cat src/main/java/com/google/sps/servlets/*.java) <(client/node_modules/clang-format/bin/linux_x64/clang-format --style=Google src/main/java/com/google/sps/servlets/*.java) | |
- name: Notify on failure | |
if: failure() | |
run: echo 'run "make validate" and "make pretty" to see/fix errors locally' |