Skip to content

Commit 8657920

Browse files
committed
chore: update ci
1 parent 4838265 commit 8657920

File tree

4 files changed

+23
-44
lines changed

4 files changed

+23
-44
lines changed

.github/workflows/autofix.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: autofix.ci
33
on:
44
pull_request:
55
push:
6-
branches: ['main']
76

87
permissions:
98
contents: read
@@ -15,12 +14,9 @@ jobs:
1514
- uses: actions/checkout@v4
1615
- run: npm i -fg corepack && corepack enable
1716
- uses: actions/setup-node@v4
18-
with:
19-
node-version: 24
20-
cache: 'pnpm'
17+
with: { node-version: 24, cache: 'pnpm' }
2118
- run: pnpm install
2219
- run: pnpm lint:fix
2320
- run: pnpm automd
2421
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
25-
with:
26-
commit-message: 'chore: apply automated updates'
22+
with: { commit-message: 'chore: apply automated updates' }

.github/workflows/checks.yml

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

.github/workflows/ci.yml

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

.github/workflows/publish.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
push:
77
branches:
88
- main
9-
# tags:
10-
# - 'v*'
119

1210
permissions:
1311
id-token: write # Required for OIDC
@@ -17,15 +15,11 @@ jobs:
1715
publish:
1816
runs-on: ubuntu-latest
1917
steps:
20-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21-
with:
22-
fetch-depth: 0
18+
- uses: actions/checkout@v4
19+
with: { fetch-depth: 0 }
2320
- run: npm i -fg corepack && corepack enable
2421
- uses: actions/setup-node@v4
25-
with:
26-
node-version: 24
27-
cache: 'pnpm'
28-
29-
- run: corepack enable && pnpm install
22+
with: { node-version: 24, cache: 'pnpm' }
23+
- run: pnpm install
3024
- name: publish
31-
run: pnpm changelogen --canary nightly --bump && npm publish --tag main
25+
run: pnpm changelogen --canary nightly --release --tag main

0 commit comments

Comments
 (0)