mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 14:54:33 +00:00
build before start
This commit is contained in:
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@@ -56,14 +56,8 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: CYPRESS_INSTALL_BINARY=0 pnpm install
|
run: CYPRESS_INSTALL_BINARY=0 pnpm install
|
||||||
|
|
||||||
# We build already here so we can fail fast if the build fails
|
- run: echo "CYPRESS_VERSION=$(pnpm list -r | grep cypress | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
||||||
- name: Build Production
|
if: ${{ matrix.command == 'test:integration' }}
|
||||||
run: pnpm build
|
|
||||||
if: ${{ matrix.command == 'test:acceptance' }}
|
|
||||||
|
|
||||||
- run: |
|
|
||||||
echo "CYPRESS_VERSION=$(pnpm list -r | grep cypress | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
|
||||||
echo "PLAYWRIGHT_VERSION=$(npx playwright --version | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- uses: actions/cache@v4.0.2
|
- uses: actions/cache@v4.0.2
|
||||||
name: Setup Cypress binary cache
|
name: Setup Cypress binary cache
|
||||||
@@ -78,6 +72,9 @@ jobs:
|
|||||||
run: pnpm install
|
run: pnpm install
|
||||||
if: ${{ matrix.command == 'test:integration' }}
|
if: ${{ matrix.command == 'test:integration' }}
|
||||||
|
|
||||||
|
- run: echo "PLAYWRIGHT_VERSION=$(npx playwright --version | cut -d ' ' -f 2)" >> $GITHUB_ENV
|
||||||
|
if: ${{ matrix.command == 'test:acceptance' }}
|
||||||
|
|
||||||
- uses: actions/cache@v4.0.2
|
- uses: actions/cache@v4.0.2
|
||||||
name: Setup Playwright binary cache
|
name: Setup Playwright binary cache
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@zitadel/login",
|
"name": "@zitadel/login",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"test": "concurrently --timings --kill-others-on-fail 'npm:test:unit' 'npm:test:integration'",
|
"test": "concurrently --timings --kill-others-on-fail 'npm:test:unit' 'npm:test:integration'",
|
||||||
@@ -22,6 +21,7 @@
|
|||||||
"lint:fix": "prettier --write .",
|
"lint:fix": "prettier --write .",
|
||||||
"lint-staged": "lint-staged",
|
"lint-staged": "lint-staged",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
"prestart": "pnpm build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"clean": "pnpm mock:destroy && rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
"clean": "pnpm mock:destroy && rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||||
},
|
},
|
||||||
@@ -32,19 +32,19 @@
|
|||||||
"*": "prettier --write --ignore-unknown"
|
"*": "prettier --write --ignore-unknown"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@headlessui/react": "^2.1.9",
|
"@headlessui/react": "^1.7.18",
|
||||||
"@heroicons/react": "2.1.3",
|
"@heroicons/react": "2.1.3",
|
||||||
"@tailwindcss/forms": "0.5.7",
|
"@tailwindcss/forms": "0.5.7",
|
||||||
"@vercel/analytics": "^1.2.2",
|
"@vercel/analytics": "^1.2.2",
|
||||||
"@zitadel/client": "workspace:*",
|
"@zitadel/client": "workspace:*",
|
||||||
|
"@zitadel/next": "workspace:*",
|
||||||
"@zitadel/node": "workspace:*",
|
"@zitadel/node": "workspace:*",
|
||||||
"@zitadel/proto": "workspace:*",
|
"@zitadel/proto": "workspace:*",
|
||||||
|
"@zitadel/react": "workspace:*",
|
||||||
"clsx": "1.2.1",
|
"clsx": "1.2.1",
|
||||||
"copy-to-clipboard": "^3.3.3",
|
"copy-to-clipboard": "^3.3.3",
|
||||||
"deepmerge": "^4.3.1",
|
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"next": "14.2.14",
|
"next": "14.2.5",
|
||||||
"next-intl": "^3.20.0",
|
|
||||||
"next-themes": "^0.2.1",
|
"next-themes": "^0.2.1",
|
||||||
"nice-grpc": "2.0.1",
|
"nice-grpc": "2.0.1",
|
||||||
"qrcode.react": "^3.1.0",
|
"qrcode.react": "^3.1.0",
|
||||||
@@ -55,12 +55,12 @@
|
|||||||
"tinycolor2": "1.4.2"
|
"tinycolor2": "1.4.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bufbuild/buf": "^1.41.0",
|
"@bufbuild/buf": "^1.36.0",
|
||||||
"@testing-library/jest-dom": "^6.4.5",
|
"@testing-library/jest-dom": "^6.4.5",
|
||||||
"@testing-library/react": "^16.0.1",
|
"@testing-library/react": "^16.0.0",
|
||||||
"@types/ms": "0.7.34",
|
"@types/ms": "0.7.34",
|
||||||
"@types/node": "22.5.5",
|
"@types/node": "22.1.0",
|
||||||
"@types/react": "18.3.7",
|
"@types/react": "18.3.3",
|
||||||
"@types/react-dom": "18.3.0",
|
"@types/react-dom": "18.3.0",
|
||||||
"@types/tinycolor2": "1.4.3",
|
"@types/tinycolor2": "1.4.3",
|
||||||
"@types/uuid": "^10.0.0",
|
"@types/uuid": "^10.0.0",
|
||||||
@@ -68,23 +68,22 @@
|
|||||||
"@zitadel/prettier-config": "workspace:*",
|
"@zitadel/prettier-config": "workspace:*",
|
||||||
"@zitadel/tsconfig": "workspace:*",
|
"@zitadel/tsconfig": "workspace:*",
|
||||||
"autoprefixer": "10.4.20",
|
"autoprefixer": "10.4.20",
|
||||||
"concurrently": "^9.0.1",
|
"concurrently": "^8.1.0",
|
||||||
"cypress": "^13.14.2",
|
"cypress": "^13.13.2",
|
||||||
"del-cli": "5.1.0",
|
"del-cli": "5.1.0",
|
||||||
"env-cmd": "^10.1.0",
|
"env-cmd": "^10.1.0",
|
||||||
"eslint-config-zitadel": "workspace:*",
|
"eslint-config-zitadel": "workspace:*",
|
||||||
"grpc-tools": "1.12.4",
|
"grpc-tools": "1.12.4",
|
||||||
"jsdom": "^25.0.0",
|
"lint-staged": "15.2.8",
|
||||||
"lint-staged": "15.2.10",
|
|
||||||
"make-dir-cli": "4.0.0",
|
"make-dir-cli": "4.0.0",
|
||||||
"nodemon": "^3.1.5",
|
"nodemon": "^3.1.4",
|
||||||
"postcss": "8.4.47",
|
"postcss": "8.4.41",
|
||||||
"prettier-plugin-tailwindcss": "0.6.6",
|
"prettier-plugin-tailwindcss": "0.6.5",
|
||||||
"sass": "^1.79.1",
|
"sass": "^1.77.1",
|
||||||
"start-server-and-test": "^2.0.8",
|
"start-server-and-test": "^2.0.0",
|
||||||
"tailwindcss": "3.4.13",
|
"tailwindcss": "3.4.9",
|
||||||
"ts-proto": "^2.2.0",
|
"ts-proto": "^1.139.0",
|
||||||
"typescript": "^5.6.2",
|
"typescript": "^5.4.5",
|
||||||
"zitadel-tailwind-config": "workspace:*"
|
"zitadel-tailwind-config": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user