fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steve McMaster 2023-08-10 14:20:08 -04:00
parent 848dc7bcde
commit e8e939f542

View File

@ -25,18 +25,7 @@ steps:
- name: prepare build workspace - name: prepare build workspace
image: alpine/git image: alpine/git
commands: commands:
- mkdir -p build/apps - git init calcom
- git init build
- cp calcom/package.json ./build/
- cp calcom/yarn.lock ./build/
- cp calcom/.yarnrc.yml ./build/
- cp calcom/playwright.config.ts ./build/
- cp calcom/turbo.json ./build/
- cp calcom/git-init.sh ./build/
- cp calcom/git-setup.sh ./build/
- cp -r calcom/.yarn/ ./build/.yarn/
- cp -r calcom/apps/web/ ./build/apps/web/
- cp -r calcom/packages ./build/packages
- name: build - name: build
image: node:18 image: node:18
environment: environment:
@ -52,7 +41,7 @@ steps:
NODE_OPTIONS: "--max-old-space-size=4096" NODE_OPTIONS: "--max-old-space-size=4096"
YARN_ENABLE_IMMUTABLE_INSTALLS: "false" YARN_ENABLE_IMMUTABLE_INSTALLS: "false"
commands: commands:
- cd build - cd calcom
- yarn config set httpTimeout 1200000 - yarn config set httpTimeout 1200000
- npx turbo prune --scope=@calcom/web --docker - npx turbo prune --scope=@calcom/web --docker
- yarn install - yarn install
@ -60,7 +49,6 @@ steps:
- yarn --cwd packages/prisma seed-app-store - yarn --cwd packages/prisma seed-app-store
- yarn turbo run build --filter=@calcom/web - yarn turbo run build --filter=@calcom/web
- rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache - rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
- ls -l
- name: publish - name: publish
image: plugins/docker image: plugins/docker
settings: settings: