fix: frontend/package.json to reduce vulnerabilities #345
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: "Let me lint:fix that for you" | |
on: [push] | |
jobs: | |
LMLFTFY: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Install Linter | |
run: | | |
npm install --ignore-scripts | |
cd frontend | |
npm install --ignore-scripts | |
- name: Fix everything which can be fixed | |
run: 'npm run lint:fix' | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "Auto-fix linting issues" | |
branch: ${{ github.head_ref }} | |
commit_options: '--signoff' | |
commit_user_name: JuiceShopBot | |
commit_user_email: [email protected] | |
commit_author: JuiceShopBot <[email protected]> |