This commit is contained in:
Paul Irish 2022-07-18 13:45:16 -07:00
parent 68728f4440
commit bab1efc839
2 changed files with 8 additions and 8 deletions

View file

@ -19,10 +19,8 @@ jobs:
with:
node-version: latest
- run: npm run lint:package
- run: npm run lint:readme
- run: npm run lint:editorconfig
- run: npm run lint:man
- run: shellcheck git-open
- run: npm run man
- run: ./bats/bin/bats test/*.bats
- run: npm run lint
- run: npm run shellcheck
- run: npm run unit
- run: npm run man && git diff

View file

@ -43,7 +43,9 @@
"lint": "npm run lint:readme && npm run lint:man && npm run lint:editorconfig",
"test": "npm run unit && npm run lint",
"watch": "find . -maxdepth 2 -iname '*bats' -o -iname 'git-open' | entr bats test/"
"watch": "find . -maxdepth 2 -iname '*bats' -o -iname 'git-open' | entr bats test/",
"prepublishOnly": "npm run man && npm run test"
},
"devDependencies": {
"eclint": "^2.1.0",