Skip to content

Upgrade to Rescript 11 #16

Upgrade to Rescript 11

Upgrade to Rescript 11 #16

Workflow file for this run

name: PR Build
on:
pull_request:
types: [opened, synchronize]
jobs:
build-ppx:
name: PR Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install OPAM and OCaml
uses: avsm/setup-ocaml@v1
with:
ocaml-version: 4.12.1 # replace with your desired version
- name: Install OCaml Dependencies and build
run: |
cd ppx_src
opam install dune
eval $(opam env)
opam install -y . --deps-only
dune build
- name: Install Yarn Dependencies
run: yarn
- name: Build PPX
run: yarn build-ppx
- name: Build Library
run: yarn build-lib
- name: Run tests
run: yarn test