Skip to content

Commit

Permalink
ci: use pnpm run -r
Browse files Browse the repository at this point in the history
  • Loading branch information
shivjm committed Apr 23, 2024
1 parent 7b1b325 commit b18939e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ 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
# the current module, regardless of release status; see
# 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit b18939e

Please sign in to comment.