Skip to content

Commit

Permalink
chore: use node 20 (#459)
Browse files Browse the repository at this point in the history
* chore: use node 20

* chore(ci): update actions
  • Loading branch information
mkurapov authored Apr 23, 2024
1 parent ce1fb5d commit 7135e40
Show file tree
Hide file tree
Showing 9 changed files with 209 additions and 163 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- uses: pnpm/action-setup@v2
name: Install pnpm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/env-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ runs:
steps:
- uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: 20
cache: 'pnpm'
- name: Install dependencies
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- uses: pnpm/action-setup@v2
name: Install pnpm
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/iron
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ More phone numbers: https://tel.meet/htd-eefo-ovn?hs=5
### Environment Setup

```sh
# install node 18
nvm install lts/hydrogen
nvm use lts/hydrogen
# install node from `./.nvmrc`
nvm install

# install pnpm
corepack enable
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"license": "Apache-2.0",
"repository": "https://github.com/interledger/open-payments",
"engines": {
"node": "18"
"pnpm": "^8.15.6",
"node": "20"
},
"packageManager": "[email protected]",
"scripts": {
"preinstall": "npx only-allow pnpm",
"lint": "eslint --max-warnings=0 --fix .",
Expand Down
2 changes: 1 addition & 1 deletion packages/http-signature-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/node": "^18.7.12",
"@types/node": "^20.12.7",
"@types/uuid": "^9.0.0",
"typescript": "^4.9.5"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/open-payments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@types/node": "^18.7.12",
"@types/node": "^20.12.7",
"@types/uuid": "^9.0.0",
"nock": "^13.3.0",
"openapi-typescript": "^4.5.0",
Expand Down
Loading

0 comments on commit 7135e40

Please sign in to comment.