-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
67 lines (55 loc) · 1.49 KB
/
autofix.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: autofix.ci # needed to securely identify the workflow
on:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fix:
name: Fix
runs-on: ubuntu-latest
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: "yarn"
- name: Install Dependencies
run: |
touch yarn.lock
yarn
yarn dedupe
- name: Run fix scripts
run: yarn fix
- name: Run yarn (/website)
run: |
touch yarn.lock
yarn
yarn dedupe
working-directory: website
- name: Run yarn (/scripts/release)
run: |
touch yarn.lock
yarn
yarn dedupe
working-directory: scripts/release
- name: Run yarn (/scripts/tools/bundle-test)
run: |
touch yarn.lock
yarn
yarn dedupe
working-directory: scripts/tools/bundle-test
- name: Run yarn (/scripts/tools/eslint-plugin-prettier-internal-rules)
run: |
touch yarn.lock
yarn
yarn dedupe
working-directory: scripts/tools/eslint-plugin-prettier-internal-rules
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc
with:
commit-message: "Apply automated changes"