Skip to content

fix: Improve compatibility with standard ethereum tooling #3

fix: Improve compatibility with standard ethereum tooling

fix: Improve compatibility with standard ethereum tooling #3

name: Conformity Test Workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
clone-and-build-execution-apis:
runs-on: [self-hosted, Linux, medium, ephemeral]
steps:
- name: Checkout execution-apis repo
uses: actions/checkout@v2
with:
repository: 'ethereum/execution-apis'
path: 'execution-apis'
- name: Use Node.js TLS 18
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18
- name: Install dependencies
run: npm install
working-directory: ./execution-apis
- name: Build project
run: npm run build
working-directory: ./execution-apis
- name: Upload openrpc.json as an artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: openrpc
path: ./execution-apis/openrpc.json
build-and-test:
runs-on: [self-hosted, Linux, medium, ephemeral]
needs: clone-and-build-execution-apis
steps:
- name: Checkout relay repo
uses: actions/checkout@v2
- name: Use Node.js TLS 18
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Download openrpc.json artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: openrpc
path: ./openrpc_exec_apis.json
- name: Run conformity tests
run: npm run acceptancetest:rpc_api_schema_conformity