-
-
Notifications
You must be signed in to change notification settings - Fork 425
56 lines (41 loc) Β· 1.3 KB
/
autofix.yml
File metadata and controls
56 lines (41 loc) Β· 1.3 KB
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
# needed to securely identify the workflow
name: autofix.ci
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
permissions:
contents: read
jobs:
code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: lts/*
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
name: Install pnpm
with:
cache: true
- name: π¦ Install dependencies
run: pnpm install
- name: π¦ Install browsers
run: pnpm playwright install
- name: π Compare translations
run: pnpm i18n:check
- name: π Update lunaria data
run: pnpm build:lunaria
- 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
# TODO: re-enable when we have snapshots in browser tests
# - name: π₯οΈ Update browser test snapshots
# run: pnpm test:browser --update-snapshots
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27