Skip to content

Commit

Permalink
Update node version in workflows (destinygg#376)
Browse files Browse the repository at this point in the history
* Update GitHub workflows to use Node 20

* Update engines to Node 14 and up
  • Loading branch information
11k authored Dec 6, 2023
1 parent 567895f commit 3336b57
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org

- name: Bump version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/formatting-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 20

- name: Install Node.js dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 20

- name: Install Node.js dependencies
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"webpack-dev-server": "^4.11.1"
},
"engines": {
"node": ">=5.0.2",
"npm": ">=3.3.12"
"node": ">=14.21.3",
"npm": ">=6.14.18"
},
"optionalDependencies": {
"bufferutil": "^4.0.3",
Expand Down

0 comments on commit 3336b57

Please sign in to comment.