Skip to content

Commit ca6ba07

Browse files
committed
chore: update ci scripts
1 parent 37db26e commit ca6ba07

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/autofix.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: autofix.ci # needed to securely identify the workflow
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: ["main"]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
autofix:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: corepack enable
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
cache: "pnpm"
21+
- run: pnpm install
22+
- run: pnpm lint:fix
23+
- uses: autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
24+
with:
25+
commit-message: "chore: apply automated updates"

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
- run: corepack enable
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
cache: "pnpm"
2121
- run: pnpm install
22+
- run: pnpm lint
23+
# - run: pnpm test:types
2224
- run: pnpm build
2325
- run: pnpm vitest --coverage
2426
- uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)