Skip to content

Commit

Permalink
GH-420 add run scripts to run action/workflow manually and run tests …
Browse files Browse the repository at this point in the history
…for action/workflow separately
  • Loading branch information
larmitage-bjss committed Feb 13, 2024
1 parent 9a7e402 commit 36949f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"test": "yarn run test-default && yarn run test-cli",
"test-default": "jest --testTimeout=10000 --testPathIgnorePatterns=__tests__/cli.test.ts --collect-coverage --coverage",
"test-cli": "nyc jest --testTimeout=10000 --silent --testMatch=**/cli*test.ts && nyc report --reporter=lcov --reporter=html --report-dir=./coverage_nyc",
"test-action": "npm test -- __tests__/action-docs-action.test.ts",
"test-workflow": "npm test -- __tests__/action-docs-workflow.test.ts",
"dev-action": "node lib/cli.js -a __tests__/fixtures/action/action.yml",
"dev-workflow": "node lib/cli.js -a __tests__/fixtures/workflow/workflow.yml",
"all": "yarn run build && yarn run format && yarn run lint && yarn test"
},
"repository": {
Expand Down

0 comments on commit 36949f3

Please sign in to comment.