Skip to content

Commit 7ac2a6c

Browse files
authored
fix: ci build pnpm not found (#10)
* ci: build github workflow * fix: ci pnpm not found * chore: update
1 parent e4e926f commit 7ac2a6c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,24 @@ on:
88

99
jobs:
1010
build:
11-
timeout-minutes: 15
1211
runs-on: ubuntu-latest
1312
strategy:
14-
fail-fast: true
1513
matrix:
1614
node-version: [18.x, 20.x]
1715
name: Build on v${{ matrix.node-version }}
1816
steps:
1917
- uses: actions/checkout@v4
2018

19+
- name: Setup pnpm
20+
uses: pnpm/action-setup@v2
21+
with:
22+
version: latest
23+
2124
- name: Setup Node.js v${{ matrix.node-version }}
2225
uses: actions/setup-node@v4
2326
with:
2427
node-version: ${{ matrix.node-version }}
2528
cache: pnpm
2629

27-
- name: Setup pnpm
28-
uses: pnpm/action-setup@v2
29-
with:
30-
version: latest
31-
3230
- run: pnpm install --frozen-lockfile
3331
- run: pnpm build

0 commit comments

Comments
 (0)