Skip to content

Commit

Permalink
Add users build back to cdk scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Jul 5, 2023
1 parent 0c49b7a commit 422ec12
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Reset to the latest commit on the develop branch before merging
# Clean up your `Casimir${Stack}${Stage}` stacks from the AWS CloudFormation console
# Reset to the latest file code in the develop branch before merging to develop
# Clean up your `Casimir${Stack}${Stage}` stacks from the AWS CloudFormation console after use
# If you want to use a different branch or stage name (not sandbox), edit line 7 or 11 accordingly
name: Push
on:
Expand Down
1 change: 1 addition & 0 deletions scripts/cdk/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ void async function () {

/** Prepare CDK resources */
await $`npm run build --workspace @casimir/landing`
await $`npm run build --workspace @casimir/users`
await $`npm run build --workspace @casimir/web`

/** Prepare CDK app */
Expand Down
1 change: 1 addition & 0 deletions scripts/cdk/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ void async function () {

/** Prepare CDK resources */
await $`npm run build --workspace @casimir/landing`
await $`npm run build --workspace @casimir/users`
await $`npm run build --workspace @casimir/web`

/** Test CDK app */
Expand Down
6 changes: 0 additions & 6 deletions services/users/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ WORKDIR /tmp
# Copy all files to /tmp
COPY . .

# Install the users service dependencies
RUN npm install --ignore-scripts --workspace @casimir/users

# Build the users service
RUN npm run build --workspace @casimir/users

# Copy the users service build assets to /app
COPY ./services/users/dist /app

Expand Down

0 comments on commit 422ec12

Please sign in to comment.