From aad540b84bf80892289ad49c69bc754b0cd9a4f8 Mon Sep 17 00:00:00 2001 From: Ely De La Cruz <603428+elycruz@users.noreply.github.com> Date: Sat, 30 Dec 2023 09:59:09 -0500 Subject: [PATCH] repo - Changed node engine requirements, in package.json and gh-actions. --- .github/workflows/monorepo-build.yml | 5 +++-- .github/workflows/publish.yml | 4 ++-- .nvmrc | 2 +- package.json | 5 +++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/monorepo-build.yml b/.github/workflows/monorepo-build.yml index 12f40644..61921e53 100644 --- a/.github/workflows/monorepo-build.yml +++ b/.github/workflows/monorepo-build.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [16.x, 18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -28,7 +28,8 @@ jobs: - name: pnpm-setup uses: pnpm/action-setup@v2 with: - version: 8.10 + version: 8 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2bafdae6..6f2957a7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,12 +17,12 @@ jobs: - name: pnpm-setup uses: pnpm/action-setup@v2 with: - version: 8.10 + version: 8 - name: node-setup - uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20.x registry-url: https://registry.npmjs.org/ - name: chrome-setup diff --git a/.nvmrc b/.nvmrc index 3f430af8..209e3ef4 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +20 diff --git a/package.json b/package.json index e3a5409d..369c5b45 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,9 @@ "./packages/fjl-inputfilter" ], "engines": { - "node": ">=16 || >=18", - "npm": ">=8 || >=9" + "node": ">=16", + "npm": ">=8", + "pnpm": ">=8" }, "mockServerPort": 10087, "mockServerCommand": "node ./packages/fjl-validator-recaptcha/tests/mock-server.js"