From b18939e0ed93287664f2fd97396904979c9c7a72 Mon Sep 17 00:00:00 2001 From: Shiv Jha-Mathur Date: Wed, 24 Apr 2024 01:19:13 +0530 Subject: [PATCH] ci: use `pnpm run -r` --- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cd76aec..f1fabb5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,7 +38,7 @@ jobs: cd packages/$package pnpm install --frozen-lockfile --filter "$package..." - pnpm run build --filter "$package" + pnpm run -r build --filter "$package" pnpm publish --no-git-checks --filter "$package" - name: Generate docs for all packages # TODO this means updating all docs for all changes, not just @@ -46,7 +46,7 @@ jobs: # TypeStrong/typedoc#1791 run: | pnpm install -r --frozen-lockfile - pnpm typedoc + pnpm run -r typedoc - name: Deploy docs for all packages to GitHub Pages if: success() uses: crazy-max/ghaction-github-pages@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b21070..6fa4d9d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - name: Run build - run: pnpm run build + run: pnpm run -r build check-docs: runs-on: ubuntu-latest steps: @@ -64,4 +64,4 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - name: Generate docs for all packages - run: pnpm typedoc + run: pnpm run -r typedoc