Skip to content

Commit

Permalink
Use Node 20 (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
stian-overasen authored Sep 6, 2024
1 parent 9c1d168 commit 91b5c3a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/checkout-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ jobs:
echo "vendor/bin" >> $GITHUB_PATH
- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
check-latest: true
cache: npm

- name: Install Dependencies
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint-js-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup node.js
uses: actions/setup-node@v3
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
check-latest: true
cache: npm

- name: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"name": "@dekode/project-base",
"private": true,
"engines": {
"node": "18",
"npm": ">=8",
"yarn": "Please use npm"
"node": "20",
"npm": ">=10"
},
"packageManager": "[email protected]",
"workspaces": [
Expand Down

0 comments on commit 91b5c3a

Please sign in to comment.