fix(ci): run pnpm install from the website directory
This commit is contained in:
parent
3ae5b31b90
commit
beed208fd3
1 changed files with 7 additions and 1 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -38,7 +38,13 @@ jobs:
|
|||
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6
|
||||
with:
|
||||
package_json_file: "website/package.json"
|
||||
run_install: "true"
|
||||
|
||||
# Must run from website/, the only directory with a pnpm-workspace.yaml.
|
||||
# From the repo root pnpm falls back to its defaults and enforces
|
||||
# minimumReleaseAge, which the workspace file sets to 0.
|
||||
- name: Install website dependencies
|
||||
run: pnpm install
|
||||
working-directory: website
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7
|
||||
|
|
|
|||
Loading…
Reference in a new issue