Compare commits
8 commits
Author | SHA1 | Date | |
---|---|---|---|
1de0cf7d59 | |||
7ea87d4240 | |||
e7de2f2588 | |||
b0b2cb5bb9 | |||
e63888a103 | |||
a17ca9bbba | |||
04523b17e9 | |||
7dab4abbd3 |
1 changed files with 22 additions and 22 deletions
|
@ -1,10 +1,6 @@
|
||||||
name: Visitenbuch CI
|
name: Visitenbuch CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- "main"
|
|
||||||
tags:
|
|
||||||
- "v*"
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -24,6 +20,7 @@ jobs:
|
||||||
CLIENT_REDIRECT_URIS: http://localhost:4173/auth/callback/keycloak
|
CLIENT_REDIRECT_URIS: http://localhost:4173/auth/callback/keycloak
|
||||||
CLIENT_LOGOUT_REDIRECT_URIS: http://localhost:4173/login?noAuto=1
|
CLIENT_LOGOUT_REDIRECT_URIS: http://localhost:4173/login?noAuto=1
|
||||||
ISSUER_HOST: oidc:3000
|
ISSUER_HOST: oidc:3000
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "postgresql://postgres:1234@postgres:5432/test?schema=public"
|
DATABASE_URL: "postgresql://postgres:1234@postgres:5432/test?schema=public"
|
||||||
TEST_DATABASE_URL: "postgresql://postgres:1234@postgres:5432/test?schema=public"
|
TEST_DATABASE_URL: "postgresql://postgres:1234@postgres:5432/test?schema=public"
|
||||||
|
@ -32,25 +29,28 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: 👁️ Checkout repository
|
- name: 👁️ Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: 📦 pnpm install
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
pnpm install
|
curl http://oidc:3000/.well-known/openid-configuration || sleep 1000
|
||||||
cp .env.test .env
|
# - name: 📦 pnpm install
|
||||||
- name: 🧐 lint
|
# run: |
|
||||||
run: |
|
# pnpm install
|
||||||
npm run check
|
# cp .env.test .env
|
||||||
npm run lint
|
# - name: 🧐 lint
|
||||||
- name: 🧪 Unit test
|
# run: |
|
||||||
run: npm run test:unit
|
# npm run check
|
||||||
- name: 🧪 Integration test
|
# npm run lint
|
||||||
run: |
|
# - name: 🧪 Unit test
|
||||||
npx prisma migrate reset --force
|
# run: npm run test:unit
|
||||||
npm run test:integration
|
# - name: 🧪 Integration test
|
||||||
- name: 👨🔬 E2E test
|
# run: |
|
||||||
run: |
|
# npx prisma migrate reset --force
|
||||||
npx playwright install --with-deps
|
# npm run test:integration
|
||||||
npm run build
|
# - name: 👨🔬 E2E test
|
||||||
npm run test:e2e
|
# run: |
|
||||||
|
# npx playwright install --with-deps
|
||||||
|
# npm run build
|
||||||
|
# npm run test:e2e
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: cimaster-latest
|
runs-on: cimaster-latest
|
||||||
|
|
Loading…
Reference in a new issue