File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 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
22
33on :
44 pull_request :
55 push :
6- branches : [ "main" ]
6+ branches : ["main"]
77
88permissions :
99 contents : read
@@ -16,11 +16,11 @@ jobs:
1616 - run : corepack enable
1717 - uses : actions/setup-node@v4
1818 with :
19- node-version : 18
19+ node-version : 20
2020 cache : " pnpm"
2121 - run : pnpm install
2222 - name : Fix lint issues
2323 run : npm run lint:fix
2424 - uses : autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
2525 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 1010
1111jobs :
1212 ci :
13- runs-on : ubuntu-latest
13+ runs-on : ${{ matrix.os }}
14+ strategy :
15+ matrix :
16+ os : [ubuntu-latest, macos-latest, windows-latest]
1417 steps :
1518 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1619 - run : corepack enable
1720 - uses : actions/setup-node@v4
1821 with :
19- node-version : 16
22+ node-version : 20
2023 cache : " pnpm"
2124 - run : pnpm install
2225 - run : pnpm lint
26+ if : matrix.os == 'ubuntu-latest'
2327 - run : pnpm build
28+ if : matrix.os == 'ubuntu-latest'
2429 - run : pnpm vitest --coverage
2530 - uses : codecov/codecov-action@v4
You can’t perform that action at this time.
0 commit comments