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:
parent
c1c19e307f
commit
900bf6c1b9
6
.github/workflows/e2e.frontend.yaml
vendored
6
.github/workflows/e2e.frontend.yaml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user