Merge pull request #640 from Zondax/fix/ci-publish #447
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@v6 | ||
| with: | ||
| package_manager: pnpm | ||
|
Check failure on line 23 in .github/workflows/ci-ts.yaml
|
||
| node_version: "22.22.1" | ||
| 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@v6 | ||
| - name: Setup mise | ||
| uses: jdx/mise-action@v3 | ||
| env: | ||
| MISE_NODE_VERSION: ${{ matrix.node-version }} | ||
| - name: Install dependencies | ||
| run: pnpm install | ||
| - name: Run tests with Docker | ||
| run: pnpm test | ||
| env: | ||
| DISPLAY: :99 | ||