Run Cypress tests only on the main repo (#19274)
This commit is contained in:
parent
f578f91a0b
commit
595e2e06d5
1 changed files with 2 additions and 1 deletions
3
.github/workflows/js-ci.yml
vendored
3
.github/workflows/js-ci.yml
vendored
|
@ -190,7 +190,7 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- conditional
|
- conditional
|
||||||
- build-keycloak
|
- build-keycloak
|
||||||
if: needs.conditional.outputs.js-ci == 'true'
|
if: needs.conditional.outputs.js-ci == 'true' && github.repository == 'keycloak/keycloak'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
WORKSPACE: admin-ui
|
WORKSPACE: admin-ui
|
||||||
|
@ -243,6 +243,7 @@ jobs:
|
||||||
CYPRESS_BASE_URL: http://localhost:8080/admin/
|
CYPRESS_BASE_URL: http://localhost:8080/admin/
|
||||||
CYPRESS_KEYCLOAK_SERVER: http://localhost:8080
|
CYPRESS_KEYCLOAK_SERVER: http://localhost:8080
|
||||||
CYPRESS_RECORD_KEY: b8f1d15e-eab8-4ee7-8e44-c6d7cd8fc0eb
|
CYPRESS_RECORD_KEY: b8f1d15e-eab8-4ee7-8e44-c6d7cd8fc0eb
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Upload server logs
|
- name: Upload server logs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Reference in a new issue