File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js : node
3- # Lint and test in parallel
4- script :
5- - npm run lint
6- - npm test
3+ cache : npm
Original file line number Diff line number Diff line change 2222 "test" : " test"
2323 },
2424 "scripts" : {
25- "lint" : " git ls-files bin etc libexec | xargs shellcheck" ,
25+ "lint" : " git ls-files bin etc libexec test/*.bash | xargs shellcheck" ,
2626 "pretest" : " [ -d $npm_package_directories_testnodenv ] || git clone --quiet --depth 1 https://github.com/nodenv/nodenv $npm_package_directories_testnodenv" ,
2727 "test" : " PATH=$PWD/$npm_package_directories_testnodenv/bin:$PATH bats ${CI:+--tap} test" ,
28+ "posttest" : " npm run lint" ,
2829 "publish:brew" : " brew-publish $npm_package_name v$npm_package_version" ,
2930 "postversion" : " git push --follow-tags && npm run publish:brew"
3031 },
Original file line number Diff line number Diff line change 1+ # shellcheck shell=bash
2+
13EXAMPLE_PACKAGE_DIR=" $BATS_TMPDIR /example_package"
24TEST_BASENAME=" $( basename " $BATS_TEST_DIRNAME " ) "
35# TODO: Should this just be $(dirname ...) ?
You can’t perform that action at this time.
0 commit comments