fix cpu dependencies
Build & Deploy / Build & Push Docker Image (push) Successful in 8m56s
Test / Type Check (all packages) (push) Successful in 3m10s
Build & Deploy / Deploy to VPS (push) Successful in 3s
Test / API Unit Tests (push) Failing after 3m10s
Test / Homepage Unit Tests (push) Failing after 3m10s
Test / Storefront Unit Tests (push) Failing after 3m30s
Test / Admin Unit Tests (push) Failing after 3m43s
Test / Dashboard Unit Tests (push) Has been cancelled
Test / API Integration Tests (push) Has been cancelled
Build & Deploy / Build & Push Docker Image (push) Successful in 8m56s
Test / Type Check (all packages) (push) Successful in 3m10s
Build & Deploy / Deploy to VPS (push) Successful in 3s
Test / API Unit Tests (push) Failing after 3m10s
Test / Homepage Unit Tests (push) Failing after 3m10s
Test / Storefront Unit Tests (push) Failing after 3m30s
Test / Admin Unit Tests (push) Failing after 3m43s
Test / Dashboard Unit Tests (push) Has been cancelled
Test / API Integration Tests (push) Has been cancelled
This commit is contained in:
@@ -15,6 +15,7 @@ env:
|
|||||||
GIT_SSL_NO_VERIFY: "true"
|
GIT_SSL_NO_VERIFY: "true"
|
||||||
REGISTRY_HOST: 192.168.3.80
|
REGISTRY_HOST: 192.168.3.80
|
||||||
DOCKERFILE_PATH: Dockerfile.production
|
DOCKERFILE_PATH: Dockerfile.production
|
||||||
|
DOCKER_PLATFORM: linux/amd64
|
||||||
DEPLOY_ROOT: /opt/rentaldrivego
|
DEPLOY_ROOT: /opt/rentaldrivego
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -94,6 +95,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ${{ env.DOCKERFILE_PATH }}
|
file: ${{ env.DOCKERFILE_PATH }}
|
||||||
|
platforms: ${{ env.DOCKER_PLATFORM }}
|
||||||
push: ${{ steps.registry-check.outputs.available == 'true' }}
|
push: ${{ steps.registry-check.outputs.available == 'true' }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ steps.image-meta.outputs.full }}
|
${{ steps.image-meta.outputs.full }}
|
||||||
|
|||||||
@@ -24,7 +24,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- run: npm ci
|
- run: corepack enable && corepack prepare npm@10.5.0 --activate
|
||||||
|
- run: npm ci --include=optional
|
||||||
- run: npm run db:generate
|
- run: npm run db:generate
|
||||||
- run: npm run type-check
|
- run: npm run type-check
|
||||||
|
|
||||||
@@ -37,7 +38,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- run: npm ci
|
- run: corepack enable && corepack prepare npm@10.5.0 --activate
|
||||||
|
- run: npm ci --include=optional
|
||||||
- run: npm run db:generate
|
- run: npm run db:generate
|
||||||
- run: npm run test:api
|
- run: npm run test:api
|
||||||
|
|
||||||
@@ -50,7 +52,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- run: npm ci
|
- run: corepack enable && corepack prepare npm@10.5.0 --activate
|
||||||
|
- run: npm ci --include=optional
|
||||||
- run: npm run build --workspace @rentaldrivego/types
|
- run: npm run build --workspace @rentaldrivego/types
|
||||||
- run: npm run test:homepage
|
- run: npm run test:homepage
|
||||||
|
|
||||||
@@ -63,7 +66,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- run: npm ci
|
- run: corepack enable && corepack prepare npm@10.5.0 --activate
|
||||||
|
- run: npm ci --include=optional
|
||||||
- run: npm run build --workspace @rentaldrivego/types
|
- run: npm run build --workspace @rentaldrivego/types
|
||||||
- run: npm run test:storefront
|
- run: npm run test:storefront
|
||||||
|
|
||||||
@@ -76,7 +80,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- run: npm ci
|
- run: corepack enable && corepack prepare npm@10.5.0 --activate
|
||||||
|
- run: npm ci --include=optional
|
||||||
- run: npm run test:admin
|
- run: npm run test:admin
|
||||||
|
|
||||||
dashboard-tests:
|
dashboard-tests:
|
||||||
@@ -88,7 +93,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- run: npm ci
|
- run: corepack enable && corepack prepare npm@10.5.0 --activate
|
||||||
|
- run: npm ci --include=optional
|
||||||
- run: npm run build --workspace @rentaldrivego/types
|
- run: npm run build --workspace @rentaldrivego/types
|
||||||
- run: npm run test:dashboard
|
- run: npm run test:dashboard
|
||||||
|
|
||||||
@@ -127,7 +133,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- run: npm ci
|
- run: corepack enable && corepack prepare npm@10.5.0 --activate
|
||||||
|
- run: npm ci --include=optional
|
||||||
- run: npm run db:generate
|
- run: npm run db:generate
|
||||||
- run: npm run db:deploy
|
- run: npm run db:deploy
|
||||||
- run: npx prisma db push --schema packages/database/prisma/schema.prisma
|
- run: npx prisma db push --schema packages/database/prisma/schema.prisma
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ ENV API_INTERNAL_URL=$API_INTERNAL_URL \
|
|||||||
NEXT_PUBLIC_ADMIN_URL=$NEXT_PUBLIC_ADMIN_URL \
|
NEXT_PUBLIC_ADMIN_URL=$NEXT_PUBLIC_ADMIN_URL \
|
||||||
SITE_ORIGIN=$SITE_ORIGIN
|
SITE_ORIGIN=$SITE_ORIGIN
|
||||||
|
|
||||||
RUN npm ci
|
RUN npm ci --include=optional
|
||||||
RUN npm run db:generate
|
RUN npm run db:generate
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user