1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

Install frontend before building docker so we can reuse in cypress test actions

This commit is contained in:
Gastón Fournier 2025-04-17 12:58:41 +02:00
parent c1c19e307f
commit 900bf6c1b9
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -21,6 +21,10 @@ jobs:
echo "$GITHUB_CONTEXT" echo "$GITHUB_CONTEXT"
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies
run: |
corepack enable
yarn --cwd ./frontend install
- name: Start Unleash test instance - name: Start Unleash test instance
run: | run: |
docker compose -f .github/docker-compose.test.yml up -d --wait -t 90 docker compose -f .github/docker-compose.test.yml up -d --wait -t 90
@ -33,4 +37,4 @@ jobs:
env: AUTH_USER=admin,AUTH_PASSWORD=unleash4all env: AUTH_USER=admin,AUTH_PASSWORD=unleash4all
config: baseUrl=http://localhost:3000 config: baseUrl=http://localhost:3000
spec: cypress/integration/${{ matrix.test }} spec: cypress/integration/${{ matrix.test }}
install-command: yarn --immutable install: false