From e3517ca69ee76f0d34275737d9ae54d19893648d Mon Sep 17 00:00:00 2001 From: Harald Mack Date: Thu, 22 Aug 2024 13:19:17 +0200 Subject: [PATCH] use pnpm, bump node version --- .github/workflows/ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5a1ae0..e04ed3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,17 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up environment - uses: actions/setup-node@v4 - with: - node-version: '20' + - uses: pnpm/action-setup@v4 + with: + version: 9 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' - name: Install dependencies - run: npm install + run: pnpm install - name: Run tests - run: npx vitest \ No newline at end of file + run: pnpm run test \ No newline at end of file