Skip to content

Commit 11b4761

Browse files
committed
ci: run pkg.pr.new after lint
1 parent c6e6168 commit 11b4761

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ on:
77
permissions: {}
88

99
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
steps:
14+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
15+
with: { persist-credentials: false }
16+
- run: npm i -g --force corepack && corepack enable
17+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
18+
with: { node-version: lts/*, cache: pnpm }
19+
- run: pnpm install
20+
- run: pnpm stub && pnpm lint
1021
tests-checks:
1122
runs-on: ${{ matrix.os }}
1223
timeout-minutes: 10
@@ -48,8 +59,6 @@ jobs:
4859
with: { deno-version: 2.8.3 }
4960
- run: node scripts/vite7.ts
5061
- run: pnpm install
51-
- run: pnpm stub && pnpm lint
52-
if: ${{ matrix.os != 'windows-latest' }}
5362
- run: pnpm build
5463
- parallel:
5564
- run: pnpm vitest run test/examples
@@ -86,7 +95,7 @@ jobs:
8695
publish-pkg-pr-new:
8796
runs-on: ubuntu-latest
8897
timeout-minutes: 10
89-
needs: [tests-checks, tests-rollup, tests-rolldown]
98+
needs: [lint]
9099
steps:
91100
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
92101
with: { fetch-depth: 0, persist-credentials: false }

0 commit comments

Comments
 (0)