-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: loosening up the npm engine requirements to easily allow npm@8 (#…
…291)
- Loading branch information
Showing
3 changed files
with
11 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,21 @@ on: [push] | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
node-version: 14.15.1 | ||
node-version: ${{ matrix.node-version }} | ||
|
||
# Node 16 still ships with npm@8 so for compatibility reasons we're upping this for everything else. | ||
- name: Install npm@8 | ||
if: matrix.node-version != '16.x' | ||
run: npm install -g npm@8 | ||
|
||
- run: npm install -g npm@7 | ||
- run: npm ci | ||
- run: npm test |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,7 @@ | |
"url": "[email protected]:readmeio/eslint-config.git" | ||
}, | ||
"engines": { | ||
"node": "^12 || ^14", | ||
"npm": "^7" | ||
"node": "^12 || ^14 || ^16" | ||
}, | ||
"scripts": { | ||
"prepare": "husky install", | ||
|