build(deps-dev): bump typescript from 5.9.2 to 5.9.3 #691
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
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "*" | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - ready_for_review | |
| name: js-tests-v2 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| stateless-js-v2: | |
| name: stateless-js-v2 | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| services: | |
| redis: | |
| image: redis:8.0.1 | |
| ports: | |
| - 6379:6379 | |
| options: >- | |
| --health-cmd "redis-cli ping" | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| env: | |
| LIGHT_PROTOCOL_VERSION: V2 | |
| REDIS_URL: redis://localhost:6379 | |
| CI: true | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Cache nx | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .nx/cache | |
| node_modules/.cache/nx | |
| key: nx-js-v2-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'nx.json') }} | |
| restore-keys: | | |
| nx-js-v2-${{ runner.os }}- | |
| - name: Setup and build | |
| uses: ./.github/actions/setup-and-build | |
| with: | |
| skip-components: "redis" | |
| - name: Build stateless.js with V2 | |
| run: | | |
| source ./scripts/devenv.sh | |
| cd js/stateless.js | |
| pnpm build:v2 | |
| - name: Build compressed-token with V2 | |
| run: | | |
| source ./scripts/devenv.sh | |
| cd js/compressed-token | |
| pnpm build:v2 | |
| - name: Build CLI | |
| run: | | |
| source ./scripts/devenv.sh | |
| npx nx build @lightprotocol/zk-compression-cli | |
| - name: Run stateless.js tests with V2 | |
| run: | | |
| source ./scripts/devenv.sh | |
| npx nx test @lightprotocol/stateless.js | |
| - name: Run compressed-token tests with V2 | |
| run: | | |
| source ./scripts/devenv.sh | |
| npx nx test @lightprotocol/compressed-token | |
| - name: Display prover logs on failure | |
| if: failure() | |
| run: | | |
| echo "=== Displaying prover logs ===" | |
| find . -path "*/test-ledger/*prover*.log" -type f -exec echo "=== Contents of {} ===" \; -exec cat {} \; -exec echo "=== End of {} ===" \; || echo "No prover logs found" |