Skip to content

Commit

Permalink
pnpm version test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymek committed Jun 17, 2024
1 parent f6cc1a2 commit 87e5bbf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: 📋 Verify pull requests
on:
pull_request:

env:
PNPM_VERSION: 9

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -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
Expand Down Expand Up @@ -60,16 +64,17 @@ 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
with:
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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"prettier": "^3.2.5",
"turbo": "^2.0.4"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
},
"packageManager": "[email protected]"
"node": ">=18.0.0"
}
}

0 comments on commit 87e5bbf

Please sign in to comment.