Skip to content

Build your personal knowledge base with Trilium Notes

fix(ci): run the nightly's pnpm steps through the platform's own shell

Elian Doran7b3e2bdeece3
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 19678e38f3..8330fbd510 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -65,6 +65,12 @@ jobs:
shell: bash
forge_platform: linux
runs-on: ${{ matrix.os.image }}
+ defaults:
+ run:
+ # Under pnpm/action-setup's pnpm 12 bootstrap, `pnpm` invoked from PowerShell on the
+ # win-signing runner exits 0 without running anything, so the steps below have to
+ # reach it through the same shell the build uses.
+ shell: ${{ matrix.os.shell }}
env:
# "Update nightly version" rewrites the version field of six workspace manifests, which
# makes the next `pnpm run` re-install the whole workspace even though the dependency