Skip to content

Commit

Permalink
Use yarn.BUILD for building services
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Apr 28, 2021
1 parent 4fb0cd4 commit 0f5180a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions oada/.yarn/plugins/@ojkelly/plugin-build.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions oada/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ plugins:
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@ojkelly/plugin-build.cjs
spec: "https://yarn.build/latest"

yarnPath: .yarn/releases/yarn-2.4.1.cjs
2 changes: 1 addition & 1 deletion oada/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN yarn install --immutable

# Build and then remove yarn stuff
# TODO: Without p it quits after first build... ?
RUN yarn workspaces foreach -vApi run build -v && rm -rfv .yarn .pnp.*
RUN yarn build -p --verbose && rm -rfv .yarn .pnp.*

FROM node:$NODE_VER AS code

Expand Down

0 comments on commit 0f5180a

Please sign in to comment.