Skip to content

Commit cc2856c

Browse files
authored
Merge pull request #163 from hyperweb-io/add-autofix
Add autofix
2 parents 99ed406 + 7b9b90f commit cc2856c

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-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

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
__fixtures__/
2+
__output__/

0 commit comments

Comments
 (0)