mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-10 17:23:39 +00:00
install npm dev dependencies
This commit is contained in:
parent
1618d62df0
commit
bd467e8228
13
.github/workflows/cypress.yml
vendored
13
.github/workflows/cypress.yml
vendored
@ -5,16 +5,17 @@ on:
|
||||
# - cron: '*/15 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
|
||||
env:
|
||||
WORKING_DIR: ./
|
||||
ZITADEL_IMAGE: ghcr.io/zitadel/zitadel:v2.0.1
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Build the docker-compose stack
|
||||
run: COMPOSE_DOCKER_CLI_BUILD=1 docker compose --verbose --file ${WORKING_DIR}/e2e/docker-compose-workdir.yaml --file ${WORKING_DIR}/docs/docs/guides/installation/run/docker-compose.yaml --file ${WORKING_DIR}/e2e/docker-compose-overwrite.yaml --env-file ${WORKING_DIR}/e2e/compose.env
|
||||
- name: Install NPM Modules
|
||||
working-directory: ./console
|
||||
run: npm ci --only=dev
|
||||
- name: Test
|
||||
run: ./e2e/docker-compose.sh run e2e
|
||||
|
3
.github/workflows/zitadel-pr.yml
vendored
3
.github/workflows/zitadel-pr.yml
vendored
@ -23,6 +23,9 @@ jobs:
|
||||
with:
|
||||
install-only: true
|
||||
version: v1.10.3
|
||||
- name: Install NPM Modules
|
||||
working-directory: ./console
|
||||
run: npm ci --only=dev
|
||||
- name: Test
|
||||
run: ./e2e/install.sh
|
||||
- name: Publish go coverage
|
||||
|
@ -1,6 +1,6 @@
|
||||
services:
|
||||
zitadel:
|
||||
image: 'zitadel:${BUILD_DATE}'
|
||||
image: '${ZITADEL_IMAGE}'
|
||||
environment:
|
||||
# TODO: localhost?
|
||||
ZITADEL_EXTERNALDOMAIN: zitadel
|
||||
|
@ -45,7 +45,7 @@ BUILD_DATE="$(extract_metadata metadata.json '.date')"
|
||||
BUILD_DATE="${BUILD_DATE%.*}"
|
||||
# Replace colons and plus signs
|
||||
export BUILD_DATE="${BUILD_DATE//:/_}"
|
||||
|
||||
export ZITADEL_IMAGE="${ZITADEL_IMAGE:-zitadel:${BUILD_DATE}}"
|
||||
|
||||
if [ "$DO_BUILD" -eq "1" ]; then
|
||||
BUILD_PATH="$(dirname $(extract_metadata artifacts.json '.[0].path'))"
|
||||
@ -56,6 +56,7 @@ if [ "$DO_BUILD" -eq "1" ]; then
|
||||
fi
|
||||
|
||||
if [ "$DO_DEPLOY" -eq "1" ]; then
|
||||
echo "Testing ZITADEL image $ZITADEL_IMAGE"
|
||||
# run cockroach and zitadel
|
||||
./e2e/docker-compose.sh run e2e
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user