update charts ui #22
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 CLI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "packages/**" | |
| - "smart-contracts/contracts/**" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "packages/**" | |
| - "smart-contracts/contracts/**" | |
| jobs: | |
| test: | |
| name: Lint, Type Check & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install contract deps | |
| working-directory: smart-contracts | |
| run: npm ci | |
| - name: Compile contracts | |
| working-directory: smart-contracts | |
| run: npx hardhat compile | |
| - name: Export ABIs | |
| working-directory: smart-contracts | |
| run: bash scripts/export-abi.sh | |
| - name: Install workspace deps | |
| run: bun install | |
| - name: Lint | |
| working-directory: packages/cli | |
| run: bun run lint | |
| - name: Type check core | |
| working-directory: packages/core | |
| run: bunx tsc --noEmit | |
| - name: Type check CLI | |
| working-directory: packages/cli | |
| run: bun run check | |
| - name: Unit tests | |
| working-directory: packages/cli | |
| run: bun run test:unit | |
| - name: Start anvil | |
| run: bash helper-scripts/helper.sh run_anvil | |
| - name: Integration tests | |
| working-directory: packages/cli | |
| run: bun run test:integration |