From 0a15699f2e82a7499900f81f62939dbd18310ff8 Mon Sep 17 00:00:00 2001 From: Lev Chelyadinov Date: Sun, 3 Dec 2023 11:07:23 +0100 Subject: [PATCH] Set up pnpm before using its cache --- .github/workflows/check.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index c050ee6..bfd9218 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -9,17 +9,19 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set up pnpm + uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Install Node.js uses: actions/setup-node@v4 with: node-version: lts/* cache: pnpm - - name: Set up pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - run_install: true + - name: Install dependencies + run: pnpm install --frozen-lockfile - name: Get/set Prettier and ESLint cache uses: actions/cache@v3