Bump react-router-dom from 6.14.0 to 6.16.0 #379
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: Reformat and Lint | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
reformat-and-lint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: 🛎 Checkout | |
if: github.event.pull_request.user.login != 'dependabot[bot]' | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.WORKFLOW_COMMIT }} | |
- name: 🤖🛎 Bot Checkout | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
uses: actions/checkout@v3 | |
- name: 📦 Setup Node.js and caching | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
cache: "npm" | |
- name: 🔨 Install | |
run: npm i | |
- name: 🧹 Reformat | |
run: npx prettier --write . | |
- name: 🚨 Lint | |
run: npx eslint . | |
- name: ⬆️ Commit changes | |
if: github.event.pull_request.user.login != 'dependabot[bot]' | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Reformat and Lint |