Skip to content

Commit

Permalink
ci: set pnpm version to v9 from now on (#1235)
Browse files Browse the repository at this point in the history
Update `node` version to `v20.11.0` to prevent issues in the future
(Vercel and pnpm are dropping node 16 support soon, for example).
Update `pnpm` version to `v9.0.0` to prevent issues like what happened
today whey they release major updates.

### 📷  Evidence
<img width="976" alt="Screenshot 2024-04-16 at 10 13 44"
src="https://github.com/FuelLabs/fuels-wallet/assets/7074983/a2045ba5-ef08-4d30-9e04-fdf59a9f6db8">

### ⚠️  Node warning

<img width="603" alt="Screenshot 2024-04-16 at 10 17 33"
src="https://github.com/FuelLabs/fuels-wallet/assets/7074983/42e7c9c8-fb59-4cd5-b80a-4b26c63bfcac">
  • Loading branch information
helciofranco authored Apr 16, 2024
1 parent 0ff8cff commit 1372ff1
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -69,6 +72,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -115,6 +121,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:

- name: CI Setup
uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7

- name: Validate Changeset
run: pnpm changeset status --since=origin/${{ github.base_ref }}
Expand All @@ -56,6 +59,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7
- run: pnpm audit --prod

lint:
Expand All @@ -71,6 +77,9 @@ jobs:

- name: Setup Node
uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7

- name: Run lint
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
# see https://github.com/changesets/action/issues/70
persist-credentials: false
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7

- name: Bump and Collect Version
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unpublish-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7
- uses: FuelLabs/github-actions/setups/npm@master
with:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-sdk-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7

- name: Checking updates
uses: FuelLabs/github-actions/update-sdk@master
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-sdk-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.14.1
pnpm-version: 8.15.7

- name: Checking updates
id: update
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.1
18.14.1
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1372ff1

Please sign in to comment.