From f37d90b99ad43af7026e5360f0838042b97002a8 Mon Sep 17 00:00:00 2001 From: Kelly Selden Date: Tue, 29 Dec 2020 19:22:32 +0000 Subject: [PATCH] don't accidentally use the global npx --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2bbb06e8..dfd990de8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,12 @@ jobs: # for test cache hits - run: npm i -g ember-cli@2.11.1 + # don't accidentally use the global npx + - run: rm $(which npx) # /opt/hostedtoolcache/node/10.23.0/x64/bin/npx + - run: rm $(which npx) # /usr/local/bin/npx + # test that we can't find it + - run: '! which npx' + - run: npm ci - run: npm run ${{ matrix.test-command }} -- --retries 1 timeout-minutes: 15