Skip to content

Commit f580061

Browse files
NoiseFancwandev
andauthored
ci(autofix): add formatting ci process (#64)
* ci(autofix): add formatting ci process * chore: fix lint * chore: update permissions to allow write access * chore: fix eslint --------- Co-authored-by: cwandev <[email protected]>
1 parent 49acb11 commit f580061

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

.github/workflows/autofix.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: autofix.ci
2+
3+
on:
4+
pull_request:
5+
permissions:
6+
contents: write
7+
8+
jobs:
9+
autofix:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
13+
steps:
14+
- uses: actions/checkout@v5
15+
16+
- name: Use Node.js lts/*
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: lts/*
20+
21+
- name: Setup
22+
run: npm i -g @antfu/ni
23+
24+
- name: Install
25+
run: nci
26+
27+
- name: Lint
28+
run: nr lint:fix
29+
30+
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27

apps/www/content/3.components/1.chatbot/chain-of-thought.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ const statusStyles = {
176176
</div>
177177
</template>
178178
```
179-
180179
```vue [ChainOfThoughtSearchResults.vue]
181180
<script setup lang="ts">
182181
import type { HtmlHTMLAttributes } from 'vue'
@@ -287,7 +286,6 @@ const props = defineProps<{
287286
</template>
288287
```
289288

290-
291289
```ts [context.ts]
292290
import type { InjectionKey, Ref } from 'vue'
293291
import { inject } from 'vue'

0 commit comments

Comments
 (0)