Update ts2ocaml to 2.0.0-beta.3 #105
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: 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 tree | |
uses: actions/checkout@v4 | |
- name: Set-up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- run: corepack enable | |
- name: Set-up OCaml | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-flambda | |
allow-prerelease-opam: true | |
- run: yarn install --immutable | |
- run: opam install . --deps-only | |
- run: yarn exec -- opam exec -- make | |
- run: node dist/main.bc.js |