Skip to content

Builds, tests & co

Builds, tests & co #80

Workflow file for this run

name: Main workflow
on:
pull_request:
push:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- run: corepack enable
- name: Use OCaml 4.14
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "4.14"
allow-prelease-opam: true
- run: yarn install --immutable
- run: opam install . --deps-only
- run: yarn exec -- opam exec -- make
- run: node dist/index.js