Skip to content

Commit

Permalink
Fixes #235 Enforced a frontend linting step to protect PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
sellnat77 committed Feb 9, 2020
1 parent 763b7a0 commit a65f5fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json
2 changes: 2 additions & 0 deletions .github/workflows/Continuous_Integration_Frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: npm install
- name: Lint
run: npm run lint
- name: Build project
run: npm run build
- name: Run Tests
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"start": "npm run dev",
"dev": "webpack-dev-server --config webpack.dev.js --host 0.0.0.0",
"build": "webpack --config webpack.prod.js",
"lint": "eslint",
"test": "jest",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
Expand Down

0 comments on commit a65f5fd

Please sign in to comment.