Skip to content

Commit

Permalink
Omit optional dependencies in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Dec 19, 2023
1 parent 3eb8bd5 commit 3bda2d1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
aws-region: ${{ env.AWS_REGION }}

- name: Install and build all package dependencies
run: npm ci
run: npm ci --omit=optional

- name: Test cdk deployment
run: npm run test:cdk
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
curl -sSf https://atlasgo.sh | sh
- name: Install and build all package dependencies
run: npm ci
run: npm ci --omit=optional

- name: Deploy cdk infrastructure
run: npm run deploy:cdk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# curl -sSf https://atlasgo.sh | sh

- name: Install and build all package dependencies
run: npm ci
run: npm ci --omit=optional

- name: Deploy CDK infrastructure
run: npm run deploy:cdk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
curl -sSf https://atlasgo.sh | sh
- name: Install and build all package dependencies
run: npm ci
run: npm ci --omit=optional
env:
PUBLIC_STAGE: ${{ env.STAGE }}

Expand Down
2 changes: 1 addition & 1 deletion services/blog/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk add --no-cache git
COPY . .

# Install dependencies
RUN npm install --ignore-scripts
RUN npm i --omit=optional --ignore-scripts

# Build the blog service
RUN npm run build --workspace @casimir/blog
Expand Down
2 changes: 1 addition & 1 deletion services/users/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk add --no-cache git
COPY . .

# Install dependencies
RUN npm install --ignore-scripts
RUN npm i --omit=optional --ignore-scripts

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

0 comments on commit 3bda2d1

Please sign in to comment.