Skip to content

Commit

Permalink
feat(utils): add cypress subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
varl committed Apr 2, 2020
1 parent ee2a64b commit 96c5b86
Show file tree
Hide file tree
Showing 5 changed files with 2,065 additions and 102 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/node-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
token: ${{env.GH_TOKEN}}
- uses: actions/setup-node@v1
with:
node-version: 12.x
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Docs are available at [cli.dhis2.nu](https://cli.dhis2.nu).
| d2 style | d2-style | @dhis2/cli-style | [dhis2/cli-style](https://github.com/dhis2/cli-style) | [![npm](https://img.shields.io/npm/v/@dhis2/cli-style.svg)](https://www.npmjs.com/package/@dhis2/cli-style) |
| d2 utils | d2-utils | @dhis2/cli-utils | [./packages/utils](./packages/utils) | [![npm](https://img.shields.io/npm/v/@dhis2/cli-utils.svg)](https://www.npmjs.com/package/@dhis2/cli-utils) |
| d2 utils docsite | d2-utils-docsite | @dhis2/cli-utils-docsite | [dhis2/cli-utils-docsite](https://github.com/dhis2/cli-utils-docsite) | [![npm](https://img.shields.io/npm/v/@dhis2/cli-utils-docsite.svg)](https://www.npmjs.com/package/@dhis2/cli-utils-docsite) |
| d2 utils cypress | d2-utils-cypress | @dhis2/cli-utils-cypress | [dhis2/cli-utils-cypress](https://github.com/dhis2/cli-utils-docsite) | [![npm](https://img.shields.io/npm/v/@dhis2/cli-utils-docsite.svg)](https://www.npmjs.com/package/@dhis2/cli-utils-cypress) |
| | | @dhis2/cli-helpers-engine | [dhis2/cli-helpers-engine](https://github.com/dhis2/cli-helpers-engine) | [![npm](https://img.shields.io/npm/v/@dhis2/cli-helpers-engine.svg)](https://www.npmjs.com/package/@dhis2/cli-helpers-engine) |
| | | @dhis2/cli-helpers-template | [dhis2/cli-helpers-template](https://github.com/dhis2/cli-helpers-template) | [![npm](https://img.shields.io/npm/v/@dhis2/cli-helpers-template.svg)](https://www.npmjs.com/package/@dhis2/cli-helpers-template) |

Expand Down
1 change: 1 addition & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"private": false,
"dependencies": {
"@dhis2/cli-helpers-engine": "^1.5.0",
"@dhis2/cli-utils-cypress": "^2.0.0",
"@dhis2/cli-utils-docsite": "^1.3.0",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/utils/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const { namespace } = require('@dhis2/cli-helpers-engine')
const command = namespace('utils', {
desc: 'Utils for miscellaneous operations',
builder: yargs => {
yargs.command(require('@dhis2/cli-utils-cypress'))
yargs.command(require('@dhis2/cli-utils-docsite'))
yargs.commandDir('cmds')
},
Expand Down
Loading

0 comments on commit 96c5b86

Please sign in to comment.