Skip to content

Commit 7b9b90f

Browse files
committed
Add autofix.ci CI job
1 parent 3d92765 commit 7b9b90f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/autofix.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: autofix.ci # needed to securely identify the workflow
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
format:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '20.x'
18+
cache: 'yarn'
19+
20+
- name: Install dependencies
21+
run: yarn install --immutable --immutable-cache --check-cache
22+
23+
- name: Format
24+
run: yarn format
25+
26+
# See https://autofix.ci/
27+
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27

0 commit comments

Comments
 (0)