File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 repository : ${{ github.repository == 'element-hq/element-web-pro' && 'element-hq/element-web' || github.repository }}
4242 persist-credentials : false
4343
44+ - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
4445 - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
4546 with :
4647 node-version-file : apps/desktop/.node-version
48+ cache : " pnpm"
49+
50+ - name : Install Deps
51+ working-directory : apps/desktop
52+ run : " pnpm install --frozen-lockfile"
4753
4854 - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
4955 with :
8187 - name : Run tests
8288 timeout-minutes : 20
8389 shell : bash
84- working-directory : apps/desktop
8590 run : |
86- PW_VERSION=$(yq -r '.catalog["@playwright/test"]' ../../pnpm-workspace.yaml)
87- $PREFIX npx "playwright@$PW_VERSION" test \
91+ $PREFIX pnpm -C apps/desktop test \
8892 ${{ runner.os != 'Linux' && '--ignore-snapshots' || '' }} \
8993 ${{ inputs.blob_report == false && '--reporter=html' || '' }} \
9094 $ARGS
You can’t perform that action at this time.
0 commit comments