Repository navigation
Ci/ts workflow #1
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: TypeScript CI | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| push: | |
| branches: | |
| - develop | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ts-ci-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality: | |
| name: Quality / Node ${{ matrix.node }} | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: | |
| - "22" | |
| - "24" | |
| defaults: | |
| run: | |
| working-directory: ts | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| cache-dependency-path: ts/package-lock.json | |
| - name: Install locked dependencies | |
| run: npm ci | |
| - name: Check architecture boundaries | |
| run: npm run depcruise | |
| - name: Type-check | |
| run: npm run typecheck | |
| - name: Run tests | |
| run: npm test | |
| - name: Build npm bundle | |
| run: npm run build | |
| - name: Validate npm package contents | |
| run: npm pack --dry-run | |
| standalone: | |
| name: Standalone / Linux x64 | |
| needs: quality | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| defaults: | |
| run: | |
| working-directory: ts | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| cache-dependency-path: ts/package-lock.json | |
| - name: Install locked dependencies | |
| run: npm ci | |
| - name: Build standalone executable | |
| run: >- | |
| npm run build:standalone -- | |
| --target bun-linux-x64-baseline | |
| --outfile standalone/wallet-cli | |
| - name: Verify executable and Ledger addon | |
| run: node scripts/verify-standalone.mjs standalone/wallet-cli |