diff --git a/.github/workflows/monorepo-build.yml b/.github/workflows/monorepo-build.yml index 12f40644..382f3e15 100644 --- a/.github/workflows/monorepo-build.yml +++ b/.github/workflows/monorepo-build.yml @@ -19,16 +19,15 @@ 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: - uses: actions/checkout@v2 - - 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..d211c6ae 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,19 +17,18 @@ 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 - uses: browser-actions/setup-chrome@latest - - run: chrome --version - - name: run-ci + - run: chrome --version - run: pnpm ci - run: cd packages/fjl && pnpm publish env: 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"