From 380bf632461d46043a98df17fa61cab0396d8d74 Mon Sep 17 00:00:00 2001 From: AmirSa12 Date: Mon, 28 Oct 2024 19:32:33 +0330 Subject: [PATCH] update gh actions --- .github/workflows/ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b76085..a956102 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,14 +16,20 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v2 + - name: Install pnpm + uses: pnpm/action-setup@v4.0.0 + + - name: Set node version to 20 + uses: actions/setup-node@v4 with: - node-version: "16" + node-version: 20 + registry-url: https://registry.npmjs.org/ + cache: "pnpm" - - name: Install dependencies + - name: Install deps run: pnpm install - name: Run tests -- 2.51.2