Skip to content

Initial profiling commit #1

Initial profiling commit

Initial profiling commit #1

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: .
run: |
mkdir target
touch target/main.json
- name: Run TypeScript Typecheck
run: yarn typecheck
- name: Run TypeScript format check
run: yarn format:ci