Skip to content

Bump react-router-dom from 6.14.0 to 6.16.0 #379

Bump react-router-dom from 6.14.0 to 6.16.0

Bump react-router-dom from 6.14.0 to 6.16.0 #379

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