Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Composer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY packages/extensions/visual-designer/package.json ./packages/extensions/visu
RUN yarn install

COPY . .
RUN yarn build
RUN yarn build:prod

# use a multi-stage build to reduce the final image size
FROM node:10-alpine
Expand Down
5 changes: 3 additions & 2 deletions Composer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"packages/lib/*"
],
"scripts": {
"build": "yarn build:dev && yarn build:server && yarn build:client",
"build": "yarn build:dev",
"build:prod": "yarn build:lib && yarn build:extensions && yarn build:server && yarn build:client",
"build:dev": "yarn build:lib && yarn build:extensions",
"build:lib": "cd packages/lib && yarn build:all",
"build:extensions": "cd packages/extensions && yarn build:all",
Expand Down Expand Up @@ -76,4 +77,4 @@
"start-server-and-test": "^1.9.0",
"wsrun": "^3.6.4"
}
}
}
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
versionSpec: 10.15.3
- script: cd Composer && yarn install
displayName: 'yarn install'
- script: cd Composer && yarn build
displayName: 'yarn build'
- script: cd Composer && yarn build:prod
displayName: 'yarn build:prod'
- script: cd Composer && yarn lint
displayName: 'yarn lint'
- script: cd Composer && yarn test:coverage
Expand Down Expand Up @@ -68,8 +68,8 @@ jobs:
versionSpec: 10.15.3
- script: cd Composer && yarn install
displayName: 'yarn install'
- script: cd Composer && yarn build
displayName: 'yarn build'
- script: cd Composer && yarn build:prod
displayName: 'yarn build:prod'
- script: cd Composer && yarn test:integration
displayName: yarn test:integration
env:
Expand Down