From 6bccbe51211c2e1d3145731ac50dbdbfc224715e Mon Sep 17 00:00:00 2001 From: julienmalard Date: Fri, 2 Feb 2024 15:02:59 +0100 Subject: [PATCH] Avec pnpm --- .github/workflows/dply.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dply.yml b/.github/workflows/dply.yml index c14b85d..b4b4802 100644 --- a/.github/workflows/dply.yml +++ b/.github/workflows/dply.yml @@ -8,14 +8,21 @@ jobs: name: Compiler le serveur runs-on: ubuntu-latest steps: - - name: Préparation de Node.js - uses: actions/setup-node@v1.4.4 - with: - node-version: 20 - name: Ouvrir la branche uses: actions/checkout@v2 + - name: Installer pnpm + uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Préparation de Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + - name: Installer les dépendances d'installation run: pnpm install