Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packageManager field to package.json #421

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/eleven-spoons-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
7 changes: 2 additions & 5 deletions .github/workflows/check-providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@ jobs:
strategy:
matrix:
node-version: [20]
pnpm-version: [9]
steps:
- name: Clone @api3/chains
uses: actions/checkout@v4

- name: Setup pnpm ${{ matrix.pnpm-version }}
uses: pnpm/action-setup@v3
with:
version: ${{ matrix.pnpm-version }}
- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/continuous-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ jobs:
strategy:
matrix:
node-version: [18, 20, latest]
pnpm-version: [9]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see the need to have the pnpm version in the matrix strategy, particularly since we only use v9, so I removed it. This will also avoid conflicts with the Action saying that the Action pnpm version doesn't match the packageManager pnpm version (new in v4).

steps:
- name: Clone @api3/chains
uses: actions/checkout@v4

- name: Setup pnpm ${{ matrix.pnpm-version }}
uses: pnpm/action-setup@v3
with:
version: ${{ matrix.pnpm-version }}
- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -64,9 +61,7 @@ jobs:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
uses: pnpm/action-setup@v4

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ jobs:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dist",
"src"
],
"packageManager": "pnpm@9.8.0",
"scripts": {
"build": "pnpm clean && pnpm generate:chains && tsc -p tsconfig.build.json",
"changeset": "changeset",
Expand Down