From 9b82d7c2f49607edd4ee22b30c6ce5db41b9ced8 Mon Sep 17 00:00:00 2001 From: Maxim Date: Tue, 9 Apr 2024 22:32:12 +0300 Subject: [PATCH] Fix all workflows --- .github/workflows/lint-admin.yml | 7 +++++-- .github/workflows/test.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint-admin.yml b/.github/workflows/lint-admin.yml index c5705ed64..99abc786c 100644 --- a/.github/workflows/lint-admin.yml +++ b/.github/workflows/lint-admin.yml @@ -15,11 +15,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master + - uses: pnpm/action-setup@v2 + with: + version: 8.15.6 - uses: actions/setup-node@v3 with: node-version: '20' - cache: 'npm' - cache-dependency-path: 'src/frontend/package-lock.json' + cache: 'pnpm' + cache-dependency-path: 'src/frontend/pnpm-lock.yaml' - name: "Install dependencies" run: npm ci working-directory: "src/frontend" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e143c700..5e54896e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,11 +11,14 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8.15.6 - uses: actions/setup-node@v3 with: node-version: '20' - cache: 'npm' - cache-dependency-path: 'src/frontend/package-lock.json' + cache: 'pnpm' + cache-dependency-path: 'src/frontend/pnpm-lock.yaml' - name: Install dependencies working-directory: ./src/frontend