Skip to content

Commit

Permalink
chore: update docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyww93 committed Dec 31, 2024
1 parent b09e70a commit 5a0a88b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deployment_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
steps:
# Checkout branch
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Enforce node version
- uses: actions/setup-node@v4
with:
node-version: 20.17.0
node-version: 20

# Versioning
- name: Perform Versioning
Expand All @@ -43,12 +43,12 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Enforce node version
- uses: actions/setup-node@v4
with:
node-version: 20.17.0
node-version: 20

# Create the first message on slack
- name: Update status on slack
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deployment_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
steps:
# Checkout branch
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Enforce node version
- uses: actions/setup-node@v4
with:
node-version: 20.17.0
node-version: 20

# Versioning
- name: Perform Versioning
Expand All @@ -43,12 +43,12 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Enforce node version
- uses: actions/setup-node@v4
with:
node-version: 20.17.0
node-version: 20

# Create the first message on slack
- name: Update status on slack
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine as builder
FROM node:20-alpine as builder

WORKDIR /usr/src/app
COPY package.json tsconfig.json package-lock.json .npmrc nest-cli.json tsconfig.build.json ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ export class BulkOperationFinishedWebhookHandler extends ShopifyWebhookHandler<u
this.logger.log('bulkOpComplete webhook referenced unknown bulkOp');
return;
} else {
this.logger.debug(`Loaded bulkop from database`, bulkOp);
this.logger.debug(`Loaded bulkop from database`, JSON.stringify(bulkOp));
}

const retailer = await this.retailerService.getByDomain(domain);
if (!retailer) {
this.logger.debug('Cannot get retailer for domain ' + domain);
return;
} else {
this.logger.debug(`Loaded retailer from database`, retailer);
this.logger.debug(`Loaded retailer from database`, JSON.stringify(retailer));
}

bulkOp = await this.bulkOperationService.updateFromShopify(retailer, bulkOp);
Expand Down

0 comments on commit 5a0a88b

Please sign in to comment.