Skip to content

Commit c2a68fc

Browse files
authored
try pinning v8 for pnpm (#1528)
* try pinning v8 for pnpm * update
1 parent 7d79a64 commit c2a68fc

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
nodeVersion: 20
2222
packageManager: pnpm
23+
packageManagerVersion: 8.10.4
2324

2425
- name: Lint
2526
run: pnpm lint
@@ -41,6 +42,7 @@ jobs:
4142
with:
4243
nodeVersion: 20
4344
packageManager: pnpm
45+
packageManagerVersion: 8.10.4
4446

4547
- name: Setup git user information
4648
run: |
@@ -70,6 +72,7 @@ jobs:
7072
with:
7173
nodeVersion: 20
7274
packageManager: pnpm
75+
packageManagerVersion: 8.10.4
7376

7477
- name: Build Packages
7578
run: pnpm build
@@ -97,6 +100,7 @@ jobs:
97100
with:
98101
nodeVersion: 20
99102
packageManager: pnpm
103+
packageManagerVersion: 8.10.4
100104

101105
- name: Build Packages
102106
run: pnpm build # will also check types

.github/workflows/pr.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,27 @@ jobs:
1414
githubToken: ${{ secrets.GITHUB_TOKEN }}
1515

1616
alpha:
17-
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
17+
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@saihaj/311
1818
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
1919
with:
2020
npmTag: alpha
2121
buildScript: build
2222
nodeVersion: 20
2323
packageManager: pnpm
24+
packageManagerVersion: 8.10.4
2425
secrets:
2526
githubToken: ${{ secrets.GITHUB_TOKEN }}
2627
npmToken: ${{ secrets.NPM_TOKEN }}
2728

2829
release-candidate:
29-
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
30+
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@saihaj/311
3031
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }}
3132
with:
3233
npmTag: rc
3334
buildScript: build
3435
nodeVersion: 20
3536
packageManager: pnpm
37+
packageManagerVersion: 8.10.4
3638
restoreDeletedChangesets: true
3739
secrets:
3840
githubToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
with:
2525
nodeVersion: 20
2626
packageManager: pnpm
27+
packageManagerVersion: 8.10.4
28+
2729
- name: Set variables
2830
id: vars
2931
run: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"private": true,
1313
"engines": {
1414
"node": ">=18.0.0",
15-
"pnpm": ">=7"
15+
"pnpm": ">=8"
1616
},
1717
"scripts": {
1818
"build": "pnpm --filter=@graphprotocol/graph-* build",

0 commit comments

Comments
 (0)