Skip to content

Commit e753c03

Browse files
committed
chore: update ci node/pnpm setups
1 parent f4f558d commit e753c03

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414
- run: sudo apt-get install -y valgrind
15-
- uses: pnpm/[email protected]
15+
- uses: pnpm/action-setup@v2
16+
- uses: actions/setup-node@v3
1617
with:
17-
version: 7
18-
- uses: "actions/setup-node@v3"
19-
with:
20-
cache: "pnpm"
21-
node-version-file: ".nvmrc"
18+
cache: pnpm
19+
node-version-file: .nvmrc
2220
- run: pnpm install --frozen-lockfile --prefer-offline
2321
- run: pnpm moon check --all
2422

@@ -29,13 +27,11 @@ jobs:
2927
with:
3028
fetch-depth: 0
3129
- run: sudo apt-get install -y valgrind
32-
- uses: pnpm/[email protected]
33-
with:
34-
version: 7
35-
- uses: "actions/setup-node@v3"
30+
- uses: pnpm/action-setup@v2
31+
- uses: actions/setup-node@v3
3632
with:
37-
cache: "pnpm"
38-
node-version-file: ".nvmrc"
33+
cache: pnpm
34+
node-version-file: .nvmrc
3935
- run: pnpm install --frozen-lockfile --prefer-offline
4036
- run: pnpm moon run :build
4137

0 commit comments

Comments
 (0)