clients/js: add worm cli tests (parse, recover, info) + worm submit (testing all chains) #26
Workflow file for this run
This file contains 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: Worm CLI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
worm-cli: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install | |
working-directory: ./clients/js | |
run: | | |
npm ci | |
- name: build worm CLI (Makefile) | |
working-directory: ./clients/js | |
run: | | |
npm run make | |
- name: Run tests | |
working-directory: ./clients/js | |
run: | | |
npm run test-ci |