fix(cli): update main module import to use destructured run function #407
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| package: | |
| - node | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 20.x | |
| - name: install dependencies | |
| working-directory: ${{ matrix.package }} | |
| run: yarn | |
| - name: run test | |
| working-directory: ${{ matrix.package }} | |
| run: yarn test --colors | |
| env: | |
| CI: true | |
| - name: lint | |
| working-directory: ${{ matrix.package }} | |
| run: yarn lint | |
| - name: run the cli | |
| working-directory: ${{ matrix.package }} | |
| run: node bin/cli.js --help |