build(deps): bump follow-redirects from 1.15.3 to 1.15.6 in /web-app #2
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: Web App | |
on: | |
push: | |
branches: | |
- '**' | |
paths: | |
- 'web-app/**' | |
jobs: | |
web-app-lint-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 'lts/*' | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install dependencies | |
working-directory: ./web-app | |
run: yarn install | |
- name: Run Prettier | |
working-directory: ./web-app | |
run: | | |
npx prettier --write . | |
echo "Prettier formatting done." | |
- name: Commit and push changes | |
run: git diff --exit-code || { git config user.name "GitHub Actions"; git config user.email "[email protected]"; git add .; git commit -m "Apply Prettier formatting"; git push origin $GITHUB_REF; } | |
- name: Run lint | |
working-directory: ./web-app | |
run: yarn lint |