diff --git a/.github/workflows/checkout-and-build.yml b/.github/workflows/checkout-and-build.yml index 764a339..f896801 100644 --- a/.github/workflows/checkout-and-build.yml +++ b/.github/workflows/checkout-and-build.yml @@ -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 diff --git a/.github/workflows/lint-js-css.yml b/.github/workflows/lint-js-css.yml index cb60ed1..f90d93e 100644 --- a/.github/workflows/lint-js-css.yml +++ b/.github/workflows/lint-js-css.yml @@ -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 diff --git a/.nvmrc b/.nvmrc index 25bf17f..2edeafb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 \ No newline at end of file +20 \ No newline at end of file diff --git a/package.json b/package.json index 8ffd892..1f0c559 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,8 @@ "name": "@dekode/project-base", "private": true, "engines": { - "node": "18", - "npm": ">=8", - "yarn": "Please use npm" + "node": "20", + "npm": ">=10" }, "packageManager": "npm@10.7.0", "workspaces": [