Skip to content

Bump elliptic from 6.5.3 to 6.5.7 in /client #100

Bump elliptic from 6.5.3 to 6.5.7 in /client

Bump elliptic from 6.5.3 to 6.5.7 in /client #100

Workflow file for this run

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'