Upgrade to Rescript 11 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 Library | |
run: yarn build-lib | |
- name: Run tests | |
run: yarn test |