Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ci: Fix pnpm store path for GitHub Actions.
Anders Kaseorgd926144e1305
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.ymlindex 355222a2baa..672a6605a5d 100644--- a/.github/workflows/production-suite.yml+++ b/.github/workflows/production-suite.yml@@ -75,7 +75,7 @@ jobs:- name: Restore pnpm storeuses: actions/cache@v3with:- path: ~/.local/share/pnpm/store+ path: /__w/.pnpm-storekey: v1-pnpm-store-focal-${{ hashFiles('pnpm-lock.yaml') }}- name: Restore python cache@@ -102,6 +102,12 @@ jobs:path: /tmp/production-buildretention-days: 1+ - name: Verify pnpm store path+ run: |+ set -x+ path="$(pnpm store path)"+ [[ "$path" == /__w/.pnpm-store/* ]]+- name: Generate failure report stringid: failure_report_stringif: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.ymlindex 4d47ed74f29..8d3b68081ec 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -79,7 +79,7 @@ jobs:- name: Restore pnpm storeuses: actions/cache@v3with:- path: ~/.local/share/pnpm/store+ path: /__w/.pnpm-storekey: v1-pnpm-store-${{ matrix.os }}-${{ hashFiles('pnpm-lock.yaml') }}- name: Restore python cache@@ -245,6 +245,12 @@ jobs:- name: Check development database buildrun: ./tools/ci/setup-backend+ - name: Verify pnpm store path+ run: |+ set -x+ path="$(pnpm store path)"+ [[ "$path" == /__w/.pnpm-store/* ]]+- name: Generate failure report stringid: failure_report_stringif: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}