Skip to content

Commit

Permalink
feat: update node version
Browse files Browse the repository at this point in the history
  • Loading branch information
rpidanny committed Jul 11, 2024
1 parent 610b0b6 commit ed9df3e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
required: true

env:
NODE_VERSION: 18
NODE_VERSION: 20

jobs:
pack:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'main'

env:
NODE_VERSION: 18
NODE_VERSION: 20

jobs:
build-test:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.8.1
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"type": "git",
"url": "https://github.com/rpidanny/leetcode-gpt.git"
},
"engines": {
"node": ">=20.8.1"
},
"scripts": {
"build": "node utils/build.js",
"build:dev": "rm -rf build && NODE_ENV=production webpack",
Expand Down

0 comments on commit ed9df3e

Please sign in to comment.