From 2e5df91ac201044f1206227623f1f1d98470f420 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 19 Feb 2021 15:38:11 -0800 Subject: [PATCH] [Tests] fix tests breaking on npm 7 --- .github/workflows/node-4+.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-4+.yml b/.github/workflows/node-4+.yml index dad291877..d3f85450e 100644 --- a/.github/workflows/node-4+.yml +++ b/.github/workflows/node-4+.yml @@ -68,7 +68,7 @@ jobs: - uses: ljharb/actions/node/run@main name: 'npm install && npm run tests-only' with: - after_install: npm uninstall --no-save eslint-config-airbnb-base && npm install --no-save "eslint@${{ matrix.eslint }}" + after_install: npm uninstall --no-save eslint-config-airbnb-base && NPM_CONFIG_LEGACY_PEER_DEPS=true npm install --no-save "eslint@${{ matrix.eslint }}" node-version: ${{ matrix.node-version }} command: 'test:ci' skip-ls-check: true