Skip to content

Commit

Permalink
Add "Auto Fix" action
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Dec 4, 2023
1 parent 5640863 commit 654bc2b
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/auto-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Auto-Fix

on:
push:
branches:
- main
- patch-release
- next
pull_request:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
fix:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: "yarn"

- name: Install Dependencies
run: yarn install --immutable

- name: Check Dependencies
run: yarn fix

- name: Run yarn (/)
run: |
yarn
yarn dedupe
- name: Run yarn (/website)
run: |
yarn
yarn dedupe
working-directory: website

- name: Run yarn (/scripts/release)
run: |
yarn
yarn dedupe
working-directory: scripts/release

- name: Run yarn (/scripts/tools/bundle-test)
run: |
yarn
yarn dedupe
working-directory: scripts/tools/bundle-test

- name: Run yarn (/scripts/tools/eslint-plugin-prettier-internal-rules)
run: |
yarn
yarn dedupe
working-directory: scripts/tools/eslint-plugin-prettier-internal-rules

- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc

0 comments on commit 654bc2b

Please sign in to comment.