Skip to content

Merge pull request #46 from iden3/fix/calculate-mtp-proof-depth #138

Merge pull request #46 from iden3/fix/calculate-mtp-proof-depth

Merge pull request #46 from iden3/fix/calculate-mtp-proof-depth #138

Workflow file for this run

name: Build, Lint and Test
on: push
jobs:
build:
timeout-minutes: 7
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Cache node modules
uses: actions/cache@v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Run Prettier
run: npm run format:check
- name: Run ESLint
run: npm run lint:check
- name: Build
run: npm run build
- name: Run Tests
run: npm run test