From 2887f39f8f970969eaf4e4a04938718909199f2b Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Thu, 23 Nov 2023 15:45:24 +0100 Subject: [PATCH] Add run keyword for running scripts with pnpm Be explicit in the command that we want to run a script and pass the paratemeters to the script --- .github/workflows/core.yaml | 8 ++++---- .github/workflows/dapp.yaml | 4 ++-- .github/workflows/website.yaml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/core.yaml b/.github/workflows/core.yaml index 900ffd639..4aeb74555 100644 --- a/.github/workflows/core.yaml +++ b/.github/workflows/core.yaml @@ -31,7 +31,7 @@ jobs: run: pnpm install --prefer-offline --frozen-lockfile - name: Format - run: pnpm format + run: pnpm run format core-build: runs-on: ubuntu-latest @@ -51,7 +51,7 @@ jobs: run: pnpm install --prefer-offline --frozen-lockfile - name: Build - run: pnpm build + run: pnpm run build - name: Upload Build Artifacts uses: actions/upload-artifact@v3 @@ -87,7 +87,7 @@ jobs: path: core/ - name: Test - run: pnpm test --no-compile + run: pnpm run test --no-compile core-deploy-dry-run: needs: [core-build] @@ -114,4 +114,4 @@ jobs: path: core/ - name: Deploy - run: pnpm deploy --no-compile + run: pnpm run deploy --no-compile diff --git a/.github/workflows/dapp.yaml b/.github/workflows/dapp.yaml index 2cc0c5ef5..aac87706e 100644 --- a/.github/workflows/dapp.yaml +++ b/.github/workflows/dapp.yaml @@ -28,7 +28,7 @@ jobs: run: pnpm install --prefer-offline --frozen-lockfile - name: Format - run: pnpm format + run: pnpm run format dapp-build: runs-on: ubuntu-latest @@ -45,4 +45,4 @@ jobs: run: pnpm install --prefer-offline --frozen-lockfile - name: Build - run: pnpm build + run: pnpm run build diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index a57d6e45b..c9064b398 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -28,7 +28,7 @@ jobs: run: pnpm install --prefer-offline --frozen-lockfile - name: Format - run: pnpm format + run: pnpm run format website-build: runs-on: ubuntu-latest @@ -45,4 +45,4 @@ jobs: run: pnpm install --prefer-offline --frozen-lockfile - name: Build - run: pnpm build + run: pnpm run build