Skip to content

Commit

Permalink
Merge 2d20c1b into 70da73b
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass authored Dec 19, 2022
2 parents 70da73b + 2d20c1b commit 61d1dc9
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12, 14, 16]
node: [14, 16, 18, 19]
include:
# use latest npm by default
- npm-version: latest
# overrides for node 10 and 12
- node: 10
npm-version: ^7
- node: 12
npm-version: ^8
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -30,15 +25,15 @@ jobs:
- run: npx lerna bootstrap --no-ci
- run: npm test
- run: npm run codecov
if: matrix.node == 14
if: matrix.node == 19

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 15
node-version: 19
- run: npm install
- run: npm run lint

Expand All @@ -51,9 +46,9 @@ jobs:
for f in $(git ls-files "**package-lock.json")
do
lockfileVersion=$(jq ".lockfileVersion" $f)
if [ $lockfileVersion -ne 2 ]
if [ $lockfileVersion -lt 2 ]
then
>&2 echo "package-lock.json files should have lockfileVersion 2, but $f has version $lockfileVersion"
>&2 echo "package-lock.json files should have at least lockfileVersion 2, but $f has version $lockfileVersion"
exit 1
fi
done

0 comments on commit 61d1dc9

Please sign in to comment.