Skip to content

Commit

Permalink
Add run keyword for running scripts with pnpm
Browse files Browse the repository at this point in the history
Be explicit in the command that we want to run a script and pass the
paratemeters to the script
  • Loading branch information
nkuba committed Nov 23, 2023
1 parent f9f85f2 commit 1002974
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -114,4 +114,4 @@ jobs:
path: core/

- name: Deploy
run: pnpm deploy --no-compile
run: pnpm run deploy --no-compile
4 changes: 2 additions & 2 deletions .github/workflows/dapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,4 +45,4 @@ jobs:
run: pnpm install --prefer-offline --frozen-lockfile

- name: Build
run: pnpm build
run: pnpm run build
4 changes: 2 additions & 2 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,4 +45,4 @@ jobs:
run: pnpm install --prefer-offline --frozen-lockfile

- name: Build
run: pnpm build
run: pnpm run build

0 comments on commit 1002974

Please sign in to comment.