From 5a70a0ee61595cbd2d734ecc2548cd70fff86151 Mon Sep 17 00:00:00 2001 From: Peter Juras Date: Sat, 21 Nov 2020 10:03:28 +0100 Subject: [PATCH] ci: :construction_worker: Woraround: run npm prepare after npm ci Runs the prepare script manually, since npm@7 has a bug and no longer runs the prepare script when running `npm ci`. See: https://github.com/npm/cli/issues/1905 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbd4873..3761d53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,10 @@ jobs: - name: Install npm@7 run: sudo npm i -g npm@7 - uses: bahmutov/npm-install@v1 + # Temporary workaround due to a bug in npm@7 + # See: https://github.com/npm/cli/issues/1905 + - name: TEMPORARY WORKAROUND run prepare script + run: npm run prepare - name: Lint run: npm run lint - name: Test