QA - @typeberry/rpc #1042
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: QA - @typeberry/rpc | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ "main" ] | |
| merge_group: | |
| env: | |
| TEST_VECTORS_REF: ffffffffffffffffffffffffffffffffffffffff # it is loaded in scripts/load-test-ref.sh | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Load test ref | |
| run: .github/scripts/load-test-ref.sh | |
| - name: Checkout JAM test vectors | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: fluffylabs/test-vectors | |
| path: "./test-vectors" | |
| ref: ${{ env.TEST_VECTORS_REF }} | |
| - name: Fetch only required submodule (w3f-davxy_072) | |
| working-directory: ./test-vectors | |
| run: | | |
| sed -i 's|git@github.com:|https://github.com/|g' .gitmodules | |
| git submodule sync w3f-davxy_072 | |
| git submodule update --init --depth 1 w3f-davxy_072 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| - run: npm ci | |
| - run: npm run test:e2e -w @typeberry/rpc |