Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
chore: Fix deploy playground on main (#2545)
Browse files Browse the repository at this point in the history
The command worked fine with `pnpm6` but now fails after the upgrade to v7.

```bash
 pnpm build --prefix website/playground/
ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND No package.json (or package.yaml, or package.json5) was found in "/home/micha/git/rome".
```

Moving the `--prefix` before the `build` subcommand fixes the issue:

```bash
pnpm --prefix website/playground/ build

> playground@0.0.0 build /home/micha/git/rome/website/playground
> pnpm build:wasm && pnpm build:js
```
  • Loading branch information
MichaReiser authored May 6, 2022
1 parent 845c94c commit 7a24b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_playground_on_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
version: 7
run_install: |
args: [--prefix website/playground]
- run: pnpm build --prefix website/playground
- run: pnpm --prefix website/playground build
- name: Publish
uses: jakejarvis/s3-sync-action@master
env:
Expand Down

0 comments on commit 7a24b21

Please sign in to comment.