File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
- name : autofix.ci # needed to securely identify the workflow
1
+ name : autofix.ci # needed to securely identify the workflow
2
2
3
3
on :
4
4
pull_request :
5
5
push :
6
- branches : [ "main" ]
6
+ branches : ["main"]
7
7
8
8
permissions :
9
9
contents : read
@@ -16,11 +16,11 @@ jobs:
16
16
- run : corepack enable
17
17
- uses : actions/setup-node@v4
18
18
with :
19
- node-version : 18
19
+ node-version : 20
20
20
cache : " pnpm"
21
21
- run : pnpm install
22
22
- name : Fix lint issues
23
23
run : npm run lint:fix
24
24
- uses : autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
25
25
with :
26
- commit-message : ' chore: apply automated lint fixes'
26
+ commit-message : " chore: apply automated lint fixes"
Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
ci :
13
- runs-on : ubuntu-latest
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ matrix :
16
+ os : [ubuntu-latest, macos-latest, windows-latest]
14
17
steps :
15
18
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
16
19
- run : corepack enable
17
20
- uses : actions/setup-node@v4
18
21
with :
19
- node-version : 16
22
+ node-version : 20
20
23
cache : " pnpm"
21
24
- run : pnpm install
22
25
- run : pnpm lint
26
+ if : matrix.os == 'ubuntu-latest'
23
27
- run : pnpm build
28
+ if : matrix.os == 'ubuntu-latest'
24
29
- run : pnpm vitest --coverage
25
30
- uses : codecov/codecov-action@v4
You can’t perform that action at this time.
0 commit comments