Skip to content

Commit 4633b97

Browse files
committed
fix: updated pipelines
1 parent 4cf9236 commit 4633b97

File tree

2 files changed

+13
-22
lines changed

2 files changed

+13
-22
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,22 @@ on:
44
branches:
55
- main
66
- next
7+
8+
env:
9+
VOLTA_FEATURE_PNPM: 1
10+
711
jobs:
812
release:
913
name: Release
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Checkout
13-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1418
with:
1519
fetch-depth: 0
1620

17-
- name: Setup pnpm
18-
uses: pnpm/action-setup@v3
19-
with:
20-
version: 10
21-
22-
- name: Setup Node.js
23-
uses: actions/setup-node@v4
24-
with:
25-
node-version: 22
26-
cache: pnpm
21+
- name: Setup node/pnpm
22+
uses: volta-cli/action@v4
2723

2824
- name: Install dependencies
2925
run: pnpm i --frozen-lockfile

.github/workflows/test.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,21 @@ on:
66
pull_request:
77
branches: [main]
88

9+
env:
10+
VOLTA_FEATURE_PNPM: 1
11+
912
jobs:
1013
test:
1114
name: Run tests
1215
runs-on: ubuntu-latest
1316
steps:
1417
- name: Checkout
15-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1619
with:
1720
fetch-depth: 0
1821

19-
- name: Setup pnpm
20-
uses: pnpm/action-setup@v3
21-
with:
22-
version: 10
23-
24-
- name: Setup Node.js
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: 22
28-
cache: pnpm
22+
- name: Setup node/pnpm
23+
uses: volta-cli/action@v4
2924

3025
- name: Install dependencies
3126
run: pnpm i --frozen-lockfile

0 commit comments

Comments
 (0)