Skip to content

Commit d40643c

Browse files
author
Robert Jackson
committed
Update to ensure npm test runs linting.
1 parent 0aff96d commit d40643c

File tree

3 files changed

+61
-3
lines changed

3 files changed

+61
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- run: yarn install --ignore-engines
25-
- run: yarn eslint .
2625
- run: yarn test

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
"main": "src/index.js",
2424
"scripts": {
2525
"changelog": "lerna-changelog",
26-
"test": "jest"
26+
"lint": "eslint .",
27+
"test": "npm-run-all lint test:jest",
28+
"test:jest": "jest"
2729
},
2830
"jest": {
2931
"testMatch": [
@@ -45,6 +47,7 @@
4547
"eslint-plugin-prettier": "^2.6.0",
4648
"jest": "^21.0.0",
4749
"lerna-changelog": "^0.8.2",
50+
"npm-run-all": "^4.1.5",
4851
"prettier": "^1.12.1",
4952
"release-it": "^12.2.1",
5053
"release-it-lerna-changelog": "^1.0.3"

yarn.lock

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ cross-spawn@^5.0.1, cross-spawn@^5.1.0:
20492049
shebang-command "^1.2.0"
20502050
which "^1.2.9"
20512051

2052-
cross-spawn@^6.0.0:
2052+
cross-spawn@^6.0.0, cross-spawn@^6.0.5:
20532053
version "6.0.5"
20542054
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
20552055
integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
@@ -4297,6 +4297,16 @@ load-json-file@^2.0.0:
42974297
pify "^2.0.0"
42984298
strip-bom "^3.0.0"
42994299

4300+
load-json-file@^4.0.0:
4301+
version "4.0.0"
4302+
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
4303+
integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs=
4304+
dependencies:
4305+
graceful-fs "^4.1.2"
4306+
parse-json "^4.0.0"
4307+
pify "^3.0.0"
4308+
strip-bom "^3.0.0"
4309+
43004310
locate-path@^2.0.0:
43014311
version "2.0.0"
43024312
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
@@ -4441,6 +4451,11 @@ mem@^1.1.0:
44414451
dependencies:
44424452
mimic-fn "^1.0.0"
44434453

4454+
memorystream@^0.3.1:
4455+
version "0.3.1"
4456+
resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2"
4457+
integrity sha1-htcJCzDORV1j+64S3aUaR93K+bI=
4458+
44444459
merge2@^1.2.3:
44454460
version "1.2.4"
44464461
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.4.tgz#c9269589e6885a60cf80605d9522d4b67ca646e3"
@@ -4781,6 +4796,21 @@ npm-packlist@^1.1.6:
47814796
ignore-walk "^3.0.1"
47824797
npm-bundled "^1.0.1"
47834798

4799+
npm-run-all@^4.1.5:
4800+
version "4.1.5"
4801+
resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba"
4802+
integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==
4803+
dependencies:
4804+
ansi-styles "^3.2.1"
4805+
chalk "^2.4.1"
4806+
cross-spawn "^6.0.5"
4807+
memorystream "^0.3.1"
4808+
minimatch "^3.0.4"
4809+
pidtree "^0.3.0"
4810+
read-pkg "^3.0.0"
4811+
shell-quote "^1.6.1"
4812+
string.prototype.padend "^3.0.0"
4813+
47844814
npm-run-path@^2.0.0:
47854815
version "2.0.2"
47864816
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
@@ -5130,6 +5160,13 @@ path-type@^2.0.0:
51305160
dependencies:
51315161
pify "^2.0.0"
51325162

5163+
path-type@^3.0.0:
5164+
version "3.0.0"
5165+
resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
5166+
integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==
5167+
dependencies:
5168+
pify "^3.0.0"
5169+
51335170
path-type@^4.0.0:
51345171
version "4.0.0"
51355172
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
@@ -5150,6 +5187,11 @@ picomatch@^2.0.5:
51505187
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6"
51515188
integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==
51525189

5190+
pidtree@^0.3.0:
5191+
version "0.3.1"
5192+
resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a"
5193+
integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==
5194+
51535195
pify@^2.0.0, pify@^2.3.0:
51545196
version "2.3.0"
51555197
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
@@ -5351,6 +5393,15 @@ read-pkg@^2.0.0:
53515393
normalize-package-data "^2.3.2"
53525394
path-type "^2.0.0"
53535395

5396+
read-pkg@^3.0.0:
5397+
version "3.0.0"
5398+
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389"
5399+
integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=
5400+
dependencies:
5401+
load-json-file "^4.0.0"
5402+
normalize-package-data "^2.3.2"
5403+
path-type "^3.0.0"
5404+
53545405
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@~2.3.6:
53555406
version "2.3.6"
53565407
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
@@ -5820,6 +5871,11 @@ shebang-regex@^1.0.0:
58205871
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
58215872
integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=
58225873

5874+
shell-quote@^1.6.1:
5875+
version "1.7.2"
5876+
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
5877+
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
5878+
58235879
58245880
version "0.8.3"
58255881
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097"

0 commit comments

Comments
 (0)