From d437a6fb1136c4acd0a86c48fe375de5f8b0f26e Mon Sep 17 00:00:00 2001 From: Octavian FlowiseAI <154992625+ocflowiseai@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:01:30 +0100 Subject: [PATCH] Enable github workflow pnpm caching --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 200202b26..0a747d0f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,11 +22,16 @@ jobs: env: PUPPETEER_SKIP_DOWNLOAD: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + with: + version: 6.32.9 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + check-latest: false + cache: 'pnpm' - run: npm i -g pnpm