fix(ci): remove duplicate pnpm version

This commit is contained in:
Bastien Wirtz 2024-10-16 14:13:43 +02:00
parent 99697a6a07
commit aac5885056
2 changed files with 4 additions and 15 deletions

View File

@ -11,14 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
-
name: Checkout
@ -26,13 +19,11 @@ jobs:
-
name: pnpm setup
uses: pnpm/action-setup@v4
with:
version: 9
-
name: Use Node.js ${{ matrix.node-version }}
name: Node.js setup
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 22
cache: 'pnpm'
-
name: install dependencies

View File

@ -16,13 +16,11 @@ jobs:
-
name: pnpm setup
uses: pnpm/action-setup@v4
with:
version: 9
-
name: Use Node.js 20
name: Node.js setup
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'pnpm'
-
name: Build project