mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-22 17:29:58 +00:00
?
This commit is contained in:
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@@ -68,8 +68,8 @@ jobs:
|
||||
node-version: 20.x
|
||||
cache: 'pnpm'
|
||||
|
||||
- uses: actions/cache@v4.0.2
|
||||
name: Setup Cypress binary cache
|
||||
- name: Setup Cypress binary cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/Cypress
|
||||
key: ${{ runner.os }}-cypress-binary-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
@@ -81,13 +81,16 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Install Cypress
|
||||
run: pnpm exec cypress install
|
||||
|
||||
# We can cache the Playwright binary independently from the pnpm cache, because we install it separately.
|
||||
# After pnpm install --frozen-lockfile, we can get the version so we only have to download the binary once per version.
|
||||
- run: echo "PLAYWRIGHT_VERSION=$(npx playwright --version | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
||||
if: ${{ startsWith(matrix.command, 'test:acceptance') }}
|
||||
|
||||
- uses: actions/cache@v4.0.2
|
||||
name: Setup Playwright binary cache
|
||||
- name: Setup Playwright binary cache
|
||||
uses: actions/cache@v4
|
||||
id: playwright-cache
|
||||
with:
|
||||
path: ~/.cache/ms-playwright
|
||||
|
Reference in New Issue
Block a user