-
-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (31 loc) · 917 Bytes
/
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
# needed to securely identify the workflow
name: autofix.ci
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: 📦 Install dependencies
run: pnpm install
# - name: 📦 Install browsers
# run: pnpm playwright install
- name: 🔠 Fix lint errors
run: pnpm lint --fix
# - name: 🧪 Update unit test snapshots
# run: pnpm test:unit -u
# - name: 🏃 Update component test snapshots
# run: pnpm test:nuxt -u
# - name: 🖥️ Update browser test snapshots
# run: pnpm test:browser --update-snapshots
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c