Skip to content

Commit

Permalink
fix: upgrade npm on GitHub actions to fix bug (#1973)
Browse files Browse the repository at this point in the history
GitHub actions has some intermittent bugs when installing packages. Hopefully this helps.
  • Loading branch information
reconbot authored Oct 30, 2019
1 parent a0b80ad commit d500a5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d500a5b

Please sign in to comment.