Skip to content

Run e2e tests in parallel #146

Run e2e tests in parallel

Run e2e tests in parallel #146

Workflow file for this run

name: TS Lint and Typecheck
on: [push]
jobs:
lint-and-typecheck:
name: Lint and Typecheck
runs-on: ubuntu-latest
environment: CI
defaults:
run:
working-directory: packages/noir-ethereum-api
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Enable Corepack and Install Yarn 4
run: |
corepack enable
yarn set version latest
- name: Install Dependencies
run: yarn install
- name: Run TypeScript Linter
run: yarn lint
# We don't store circuit compilation artefacts in the repo,
# but typecheck fails on import without them so we just create a fake file here
- name: Create fake circuit compilation artefacts
working-directory: circuit
run: |
mkdir target
touch target/noir_ethereum_history_api.json
- name: Run TypeScript Typecheck
run: yarn typecheck
- name: Run TypeScript format check
run: yarn format:ci