diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index 3b2e61f8..edb59065 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -98,6 +98,7 @@ jobs: name: Build project run: yarn workspace ${{ needs.deployment-info.outputs.workspace }} build env: + NODE_ENV: production NODE_OPTIONS: -r tsconfig-paths/register - id: publish-to-gpr name: Publish package [GPR] @@ -105,6 +106,8 @@ jobs: run: npm publish ${{ needs.deployment-info.outputs.publish_args }} env: NODE_AUTH_TOKEN: ${{ secrets.PAT_GPR_FLDV_ADMIN }} + NODE_ENV: production + NODE_OPTIONS: -r tsconfig-paths/register - id: setup-npmrc-npm name: Setup .npmrc file [NPM] uses: actions/setup-node@v2 @@ -119,6 +122,8 @@ jobs: run: npm publish ${{ needs.deployment-info.outputs.publish_args }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_FLDV }} + NODE_ENV: production + NODE_OPTIONS: -r tsconfig-paths/register update-production-branch: name: Update production branch needs: publish-package