Skip to content

Commit

Permalink
feat: update nodejs and pnpm (#1471)
Browse files Browse the repository at this point in the history
- Closes #1308
  • Loading branch information
helciofranco authored Sep 13, 2024
1 parent 2a626b6 commit 036a015
Show file tree
Hide file tree
Showing 13 changed files with 19,015 additions and 14,943 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -56,8 +56,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -102,8 +102,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -148,8 +148,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- name: CI Setup
uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0

- name: Validate Changeset
run: pnpm changeset status --since=origin/${{ github.base_ref }}
Expand All @@ -60,8 +60,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- name: Install jq
run: sudo apt-get install jq
- run: |
Expand Down Expand Up @@ -89,8 +89,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- run: pnpm audit --prod

lint:
Expand All @@ -107,8 +107,8 @@ jobs:
- name: Setup Node
uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0

- name: Run lint
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-npm-changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
persist-credentials: false
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/npm@master
with:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-devnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unpublish-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/npm@master
with:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-sdk-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0

- name: Checking updates
uses: FuelLabs/github-actions/update-sdk@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-sdk-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 18.18.0
pnpm-version: 8.15.7
node-version: 20.11.0
pnpm-version: 9.5.0

- name: Checking updates
id: update
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node-version=18.18.0
node-version=20.11.0
strict-peer-dependencies=false
save-exact=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.0
20.11.0
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"description": "Fuel Wallet",
"author": "Fuel Labs <[email protected]> (https://fuel.network/)",
"engines": {
"node": ">=18.18.0",
"pnpm": ">=8"
"node": ">=20.11.0",
"pnpm": ">=9"
},
"homepage": "https://github.com/FuelLabs/fuels-wallet",
"repository": {
Expand Down Expand Up @@ -107,7 +107,6 @@
"semver@<7.5.2": ">=7.5.2",
"word-wrap": "npm:@aashutoshrathi/word-wrap",
"cross-fetch": "4.0.0",
"pnpm@>=8.0.0 <8.6.8": ">=8.6.8",
"@adobe/css-tools": ">=4.3.1",
"postcss@<8.4.31": ">=8.4.31",
"zod@<=3.22.2": ">=3.22.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/docs/contributing/running-locally.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This is a guide that will show you how you can run this project locally if you w

This project includes frontend. To begin, install dependencies:

- [Node.js 18.18.0 or latest stable](https://nodejs.org/en/). We recommend using [nvm](https://github.com/nvm-sh/nvm) to install.
- [pnpm v7.18.2 or latest stable](https://pnpm.io/installation/)
- [Node.js 20.11.0 or latest stable](https://nodejs.org/en/). We recommend using [nvm](https://github.com/nvm-sh/nvm) to install.
- [pnpm v9.5.0 or latest stable](https://pnpm.io/installation/)
- [Docker v0.8.2 or latest stable](https://docs.docker.com/get-docker/)
- [Docker Compose v2.6.0 or latest stable](https://docs.docker.com/get-docker/)

Expand Down
Loading

0 comments on commit 036a015

Please sign in to comment.