mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:07:32 +00:00
ci
This commit is contained in:
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@@ -53,12 +53,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Run lint and unit tests in dev container
|
- name: Set up pnpm caching
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
cache: 'pnpm'
|
||||||
|
- name: Lint and Unit Test All JavaScript Code
|
||||||
uses: devcontainers/ci@v0.3
|
uses: devcontainers/ci@v0.3
|
||||||
with:
|
with:
|
||||||
push: never
|
push: never
|
||||||
configFile: .devcontainer/turbo-lint-unit/devcontainer.json
|
configFile: .devcontainer/turbo-lint-unit/devcontainer.json
|
||||||
runCmd: echo "Successfully ran lint and unit tests in dev container postStartCommand"
|
runCmd: echo "Successfully ran postStartCommand"
|
||||||
|
|
||||||
core:
|
core:
|
||||||
name: core
|
name: core
|
||||||
|
31
.github/workflows/login-integration-test.yml
vendored
Normal file
31
.github/workflows/login-integration-test.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: Integration test core
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
login_build_image:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
login-integration-test:
|
||||||
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
name: login-integration-test
|
||||||
|
runs-on: depot-ubuntu-22.04-8
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up pnpm caching
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
cache: 'pnpm'
|
||||||
|
- name: Run Integration Tests against the Login and a Mocked Zitadel API
|
||||||
|
uses: devcontainers/ci@v0.3
|
||||||
|
environment:
|
||||||
|
LOGIN_TAG: ${{ inputs.login_build_image }}
|
||||||
|
with:
|
||||||
|
push: never
|
||||||
|
configFile: .devcontainer/login-integration/devcontainer.json
|
||||||
|
runCmd: echo "Successfully ran postStartCommand"
|
||||||
|
|
Reference in New Issue
Block a user