Upgrade to Rescript 11 #15
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 Dune | |
run: | | |
opam install dune | |
eval $(opam env) | |
- name: Install OCaml Dependencies | |
run: | | |
cd ppx_src | |
opam install -y . --deps-only | |
- 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 |