test(engines): moved the ls-engines check into the lint group under the combined test process
This commit is contained in:
parent
a8d863834a
commit
65aea33182
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
- 20
|
- 20
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
|
||||||
@ -41,9 +41,8 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: npm
|
cache: npm
|
||||||
- run: npm clean-install
|
- run: npm clean-install
|
||||||
- name: Ensure dependencies are compatible with the version of node
|
- run: npm audit signatures
|
||||||
run: npx ls-engines
|
- run: npm test
|
||||||
- run: npm run test:ci
|
|
||||||
|
|
||||||
# separate job to set as required in branch protection,
|
# separate job to set as required in branch protection,
|
||||||
# as the build names above change each time Node versions change
|
# as the build names above change each time Node versions change
|
||||||
@ -58,7 +57,6 @@ jobs:
|
|||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
cache: npm
|
cache: npm
|
||||||
- run: npm clean-install
|
- run: npm clean-install
|
||||||
- run: npm audit signatures
|
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
- name: All matrix versions passed
|
- name: All matrix versions passed
|
||||||
if: ${{ !(contains(needs.*.result, 'failure')) }}
|
if: ${{ !(contains(needs.*.result, 'failure')) }}
|
||||||
|
4946
package-lock.json
generated
4946
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -68,6 +68,7 @@
|
|||||||
"got": "13.0.0",
|
"got": "13.0.0",
|
||||||
"js-yaml": "4.1.0",
|
"js-yaml": "4.1.0",
|
||||||
"lockfile-lint": "4.12.1",
|
"lockfile-lint": "4.12.1",
|
||||||
|
"ls-engines": "0.9.0",
|
||||||
"mockserver-client": "5.15.0",
|
"mockserver-client": "5.15.0",
|
||||||
"nock": "13.3.3",
|
"nock": "13.3.3",
|
||||||
"npm-run-all2": "6.0.6",
|
"npm-run-all2": "6.0.6",
|
||||||
@ -142,6 +143,7 @@
|
|||||||
"lint:js": "prettier --check \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
"lint:js": "prettier --check \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
||||||
"lint:js:fix": "prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
"lint:js:fix": "prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/**/*.js\"",
|
||||||
"lint:lockfile": "lockfile-lint",
|
"lint:lockfile": "lockfile-lint",
|
||||||
|
"lint:engines": "ls-engines",
|
||||||
"semantic-release": "./bin/semantic-release.js",
|
"semantic-release": "./bin/semantic-release.js",
|
||||||
"test": "npm-run-all --print-label --parallel lint:* --parallel test:*",
|
"test": "npm-run-all --print-label --parallel lint:* --parallel test:*",
|
||||||
"test:unit": "c8 ava --verbose",
|
"test:unit": "c8 ava --verbose",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user