mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 13:45:03 +00:00
build before start
This commit is contained in:
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@@ -56,14 +56,8 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: CYPRESS_INSTALL_BINARY=0 pnpm install
|
||||
|
||||
# We build already here so we can fail fast if the build fails
|
||||
- name: Build Production
|
||||
run: pnpm build
|
||||
if: ${{ matrix.command == 'test:acceptance' }}
|
||||
|
||||
- run: |
|
||||
echo "CYPRESS_VERSION=$(pnpm list -r | grep cypress | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
||||
echo "PLAYWRIGHT_VERSION=$(npx playwright --version | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
||||
- run: echo "CYPRESS_VERSION=$(pnpm list -r | grep cypress | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
||||
if: ${{ matrix.command == 'test:integration' }}
|
||||
|
||||
- uses: actions/cache@v4.0.2
|
||||
name: Setup Cypress binary cache
|
||||
@@ -78,6 +72,9 @@ jobs:
|
||||
run: pnpm install
|
||||
if: ${{ matrix.command == 'test:integration' }}
|
||||
|
||||
- run: echo "PLAYWRIGHT_VERSION=$(npx playwright --version | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
||||
if: ${{ matrix.command == 'test:acceptance' }}
|
||||
|
||||
- uses: actions/cache@v4.0.2
|
||||
name: Setup Playwright binary cache
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user