diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b9010f2..0ee51d7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -3,6 +3,9 @@ name: 📋 Verify pull requests on: pull_request: +env: + PNPM_VERSION: 9 + jobs: build: runs-on: ubuntu-latest @@ -17,8 +20,9 @@ jobs: node-version: 'lts/*' - uses: pnpm/action-setup@v2 - id: pnpm-install + id: pnpm-setup with: + version: ${{ env.PNPM_VERSION }} run_install: false - uses: actions/checkout@v3 @@ -60,7 +64,7 @@ jobs: shell: bash strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [18.x, 20.x, 21.x] steps: - uses: actions/setup-node@v3 @@ -68,8 +72,9 @@ jobs: node-version: ${{ matrix.node-version }} - uses: pnpm/action-setup@v2 - id: pnpm-install + id: pnpm-setup with: + version: ${{ env.PNPM_VERSION }} run_install: false - uses: actions/cache@v3 @@ -95,8 +100,9 @@ jobs: node-version: 'lts/*' - uses: pnpm/action-setup@v2 - id: pnpm-install + id: pnpm-setup with: + version: ${{ env.PNPM_VERSION }} run_install: false - uses: actions/cache@v3 diff --git a/package.json b/package.json index 2ce2dd5..67cd1c5 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "prettier": "^3.2.5", "turbo": "^2.0.4" }, + "packageManager": "pnpm@9.3.0", "engines": { - "node": ">=16.0.0" - }, - "packageManager": "pnpm@9.3.0" + "node": ">=18.0.0" + } }