From 697cfe8da4b5916ef57175179efc3383e8e53beb Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Thu, 26 Aug 2021 13:45:31 -0500 Subject: [PATCH] Force the npm install of 'esm' to work (#21168) --- .github/workflows/staging-deploy-pr.yml | 2 +- .github/workflows/staging-undeploy-pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/staging-deploy-pr.yml b/.github/workflows/staging-deploy-pr.yml index 17de3f48ba..ada1b8b9a1 100644 --- a/.github/workflows/staging-deploy-pr.yml +++ b/.github/workflows/staging-deploy-pr.yml @@ -162,7 +162,7 @@ jobs: run: npm ci - name: Install one-off development-only dependencies - run: npm install --no-save esm + run: npm install --no-save --include=optional esm - name: Deploy id: deploy diff --git a/.github/workflows/staging-undeploy-pr.yml b/.github/workflows/staging-undeploy-pr.yml index cfcb11b396..ab41d61b9a 100644 --- a/.github/workflows/staging-undeploy-pr.yml +++ b/.github/workflows/staging-undeploy-pr.yml @@ -36,7 +36,7 @@ jobs: run: npm ci - name: Install one-off development-only dependencies - run: npm install --no-save esm + run: npm install --no-save --include=optional esm - name: Undeploy uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d