Skip to content

Add/attestations

Add/attestations #695

Workflow file for this run

name: Api
on:
workflow_dispatch:
pull_request:
paths:
- 'packages/api/**'
jobs:
build-and-test:
runs-on: ubuntu-latest
name: Build, Lint & Test
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.14.0'
cache: 'yarn'
- run: yarn install
- run: yarn workspace api lint
- run: yarn workspace api build
- run: cp .env.test .env
- run: yarn mongodb:start
# We should first run mongo and after that run tests
- run: yarn workspace api test:e2e