Skip to content

Consolidate APIs into contexts #181

Consolidate APIs into contexts

Consolidate APIs into contexts #181

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 19
# Unfortunately, npm still has a bug where 'prepare' doesn't automatically install
# the 'devDependencies': https://github.com/npm/cli/issues/1865
# Since nighthouse has a dev-dependency on @types/node, we need to install it manually.
- name: Install @types/node as a workaround
run: npm install @types/node
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build