Skip to content

Commit 8ee78b4

Browse files
committed
ci: remove @antfu/ni & typecheck
1 parent 6aefde3 commit 8ee78b4

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323

2424
- run: npx changelogithub
2525
env:
26-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/unit-test.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
15+
- name: Install pnpm
16+
uses: pnpm/[email protected]
17+
1418
- name: Set node
1519
uses: actions/setup-node@v4
1620
with:
1721
node-version: lts/*
18-
19-
- name: Setup
20-
run: npm i -g @antfu/ni
22+
cache: pnpm
2123

2224
- name: Install
23-
run: nci
25+
run: pnpm i
2426

2527
- name: Lint
26-
run: nr lint
28+
run: pnpm run lint
2729

2830
test:
2931
runs-on: ${{ matrix.os }}
@@ -36,19 +38,24 @@ jobs:
3638

3739
steps:
3840
- uses: actions/checkout@v4
41+
42+
- name: Install pnpm
43+
uses: pnpm/[email protected]
44+
3945
- name: Set node ${{ matrix.node }}
4046
uses: actions/setup-node@v4
4147
with:
4248
node-version: ${{ matrix.node }}
49+
cache: pnpm
4350

44-
- name: Setup
45-
run: npm i -g @antfu/ni
46-
47-
- name: Install
48-
run: nci
51+
- name: Install dependencies
52+
run: pnpm i
4953

5054
- name: Build
51-
run: nr build
55+
run: pnpm run build
56+
57+
- name: Typecheck
58+
run: pnpm run typecheck
5259

5360
- name: Test
54-
run: nr test
61+
run: pnpm run test

0 commit comments

Comments
 (0)