Skip to content

handle empty history #28

handle empty history

handle empty history #28

Workflow file for this run

name: lint
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Bootstrap env variables
env:
DATABASE_URL: "file:./evolver.db"
DEFAULT_DEVICE_PORT: 8080
run: echo "DATABASE_URL=$DATABASE_URL" >> .env && echo "DEFAULT_DEVICE_PORT=$DEFAULT_DEVICE_PORT" >> .env
- name: Install dependencies
run: npm ci --include=dev && npm run bootstrap_dev_db && npm run bootstrap_evolver_ts_client
- name: Run lint
run: npm run lint