Skip to content

Commit 40273ab

Browse files
authored
ci: use pnpm (#97)
1 parent 0fa5502 commit 40273ab

2 files changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/ci-dev.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,19 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323

24+
- uses: pnpm/action-setup@v2.2.4
25+
name: Install pnpm
26+
id: pnpm-install
27+
with:
28+
version: 7
29+
2430
- uses: actions/setup-node@v3
2531
with:
2632
node-version: ${{ matrix.node }}
33+
cache: pnpm
2734

2835
- name: Install dependencies
29-
run: yarn install
36+
run: pnpm install
3037

3138
- name: Build
32-
run: yarn build
39+
run: pnpm build

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,19 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v3
2424

25+
- uses: pnpm/action-setup@v2.2.4
26+
name: Install pnpm
27+
id: pnpm-install
28+
with:
29+
version: 7
30+
2531
- uses: actions/setup-node@v3
2632
with:
2733
node-version: ${{ matrix.node }}
28-
cache: 'yarn'
34+
cache: pnpm
2935

3036
- name: Install dependencies
31-
run: yarn --immutable
37+
run: pnpm install
3238

3339
- name: Build
34-
run: yarn build
40+
run: pnpm build

0 commit comments

Comments
 (0)