Skip to content

Commit 22c12c5

Browse files
committed
chore: update ci
1 parent 0731a32 commit 22c12c5

File tree

4 files changed

+31
-55
lines changed

4 files changed

+31
-55
lines changed

.github/workflows/autofix.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
11
name: autofix.ci
2-
3-
on:
4-
pull_request:
5-
push:
6-
branches: ['main']
7-
8-
permissions:
9-
contents: read
10-
2+
on: { push: {}, pull_request: {} }
3+
permissions: { contents: read }
114
jobs:
125
autofix:
136
runs-on: ubuntu-latest
147
steps:
158
- uses: actions/checkout@v4
169
- run: npm i -fg corepack && corepack enable
1710
- uses: actions/setup-node@v4
18-
with:
19-
node-version: 24
20-
cache: 'pnpm'
11+
with: { node-version: 24, cache: 'pnpm' }
2112
- run: pnpm install
2213
- run: pnpm lint:fix
2314
- run: pnpm automd
2415
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
25-
with:
26-
commit-message: 'chore: apply automated updates'
16+
with: { commit-message: 'chore: apply automated updates' }

.github/workflows/checks.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: checks
2+
on: { push: {}, pull_request: {} }
3+
jobs:
4+
checks:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- run: npm i -fg corepack && corepack enable
9+
- uses: actions/setup-node@v4
10+
with: { node-version: 24, cache: 'pnpm' }
11+
- run: pnpm install
12+
- run: pnpm run lint

.github/workflows/ci.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: publish
2+
on: { push: { branches: [main] } }
3+
permissions: { id-token: write, contents: read }
4+
jobs:
5+
publish:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
with: { fetch-depth: 0 }
10+
- run: npm i -fg corepack && corepack enable
11+
- uses: actions/setup-node@v4
12+
with: { node-version: 24, cache: 'pnpm' }
13+
- run: pnpm install
14+
- run: pnpm changelogen --bump --canary nightly
15+
- run: npm publish --tag latest

0 commit comments

Comments
 (0)