chore(deps-dev): bump eslint-plugin-import from 2.28.0 to 2.28.1 #53
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: Fix formatting | |
'on': | |
push: | |
branches: | |
- dependabot/npm_and_yarn/prettier-* | |
- dependabot/npm_and_yarn/eslint-* | |
workflow_dispatch: {} | |
jobs: | |
fixFormatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: true | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Format | |
run: npm run format:fix | |
- name: Commit | |
run: > | |
git config user.email "github-actions@github.com" | |
git config user.name "github-actions" | |
git add . | |
git commit -m "style: format files with Prettier" | true # ignore error if there are no changes to commit | |
git push origin HEAD:${{ github.head_ref }} |