From 1ae4cdc0bde0ebfd49f62a1d16f9a9e440f82a1f Mon Sep 17 00:00:00 2001 From: Apostolos Tsakpinis Date: Sun, 26 May 2024 04:50:52 +0300 Subject: [PATCH] fix: make sure pnpm installs all deps --- .github/workflows/docker-publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e945f102..842339f6 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -30,13 +30,11 @@ jobs: aws-region: us-east-1 - name: Compile files - env: - NODE_ENV: production run: | corepack enable pnpm i - node ./scripts/build-styles.mjs - node ./scripts/build-production.mjs + NODE_ENV=production node ./scripts/build-styles.mjs + NODE_ENV=production node ./scripts/build-production.mjs node --no-warnings ./scripts/post-production.mjs - name: Upload artifacts