From 70f1aff18736ca528507c08d8d9735473ace8056 Mon Sep 17 00:00:00 2001 From: Emman Nipal Date: Sun, 22 May 2022 23:02:04 +0800 Subject: [PATCH] fix: enhance pnpm install in github actions --- .github/workflows/deploy-app-workflow.yml | 2 +- .github/workflows/deploy-workflow.yml | 2 +- .github/workflows/pr-tests.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-app-workflow.yml b/.github/workflows/deploy-app-workflow.yml index b5bd5e5..151132c 100644 --- a/.github/workflows/deploy-app-workflow.yml +++ b/.github/workflows/deploy-app-workflow.yml @@ -54,7 +54,7 @@ jobs: cache: 'pnpm' - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile --ignore-scripts - name: Set node environment variables run: echo ${{ secrets.app_env }} | base64 --decode --ignore-garbage > .env diff --git a/.github/workflows/deploy-workflow.yml b/.github/workflows/deploy-workflow.yml index 39f87d8..32bdbf6 100644 --- a/.github/workflows/deploy-workflow.yml +++ b/.github/workflows/deploy-workflow.yml @@ -23,7 +23,7 @@ jobs: cache: 'pnpm' - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile --ignore-scripts - name: Run ESLint run: pnpm lint diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 94afc9e..9b09d4f 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -21,7 +21,7 @@ jobs: cache: 'pnpm' - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile --ignore-scripts - name: Run ESLint run: pnpm lint