mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
ci tasks
This commit is contained in:
parent
68728f4440
commit
bab1efc839
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue