Make the transport proxy throw exceptions on every sw except 0x9000 #62
Workflow file for this run
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-ts | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main, dev] | |
| schedule: | |
| - cron: "0 0 * * *" # Daily at midnight UTC | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| ts-checks: | |
| uses: zondax/_workflows/.github/workflows/_checks-ts.yaml@main | |
| with: | |
| package_manager: pnpm | |
| node_version: "22" | |
| enable_tests: false # Disable tests here since they need Docker | |
| enable_coverage: false | |
| test_command: "test" | |
| lint_command: "check" | |
| format_command: "check" | |
| test-with-docker: | |
| runs-on: ubuntu-latest | |
| needs: ts-checks | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 8 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run tests with Docker | |
| run: pnpm test | |
| env: | |
| DISPLAY: :99 |