update #49
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-data-wasm | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| npm-install-1: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| net: ['testnet_v1'] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '16' | |
| - name: prepare env | |
| id: runtest | |
| run: | | |
| bash prepare_wasm.sh | |
| npm install --save-dev mocha @types/mocha chai @types/chai | |
| - name: run test | |
| id: ci-test | |
| run: | | |
| npm run test-data | |
| - name: Publish reports | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: jfoa-build-reports-${{ runner.os }} | |
| path: mochawesome-report/ |