Skip to content

Commit

Permalink
Update to Node.js 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Mar 6, 2024
1 parent d7831a6 commit 469faf9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run-test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js 16.x
- name: Use desired version of Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version-file: '.nvmrc'

- name: Npm install and build
run: |
Expand All @@ -42,10 +42,10 @@ jobs:
- name: Checkout
uses: actions/checkout@main

- name: Use Node.js 16.x
- name: Use desired version of Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version-file: '.nvmrc'

- name: Npm install and build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js 16.x
- name: Use desired version of Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version-file: '.nvmrc'

- name: Npm install and build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"url": "https://github.com/t-hamano/richtext-extension/issues"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"volta": {
"node": "16.18.0",
"npm": "8.19.2"
"node": "20.11.1",
"npm": "10.5.0"
},
"devDependencies": {
"@wordpress/base-styles": "4.38.0",
Expand Down

0 comments on commit 469faf9

Please sign in to comment.