diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1676459aa..026cef523 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,6 +14,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: 12 + - name: upgrade npm + run: npm install -g npm - name: npm install run: npm install - name: npm run lint diff --git a/.github/workflows/test-merge.yml b/.github/workflows/test-merge.yml index cd4643913..b034fadac 100644 --- a/.github/workflows/test-merge.yml +++ b/.github/workflows/test-merge.yml @@ -29,6 +29,8 @@ jobs: run: | npm install --global node-gyp@latest npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} + - name: upgrade npm + run: npm install -g npm - name: npm install run: npm install - name: npm run rebuild diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4e76ee67..beeb75a6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,8 @@ jobs: run: | npm install --global node-gyp@latest npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} + - name: upgrade npm + run: npm install -g npm - name: npm install run: npm install - name: npm run rebuild