diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 166ac33..501332f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,9 +100,12 @@ jobs: uses: ocaml/setup-ocaml@v2 with: ocaml-compiler: ${{ matrix.ocaml-compiler }} - opam-depext-flags: --with-test - opam-local-packages: | - js/melange-decoders.opam + + - working-directory: js + run: | + opam pin -y -n melange-jest git+ssh://git@github.com/melange-community/melange-jest.git + opam pin -y -n melange-fetch git+ssh://git@github.com/melange-community/melange-fetch.git + opam pin -y -n melange-webapi git+ssh://git@github.com/melange-community/melange-webapi.git - run: opam install decoders-melange.opam --with-test working-directory: js diff --git a/js/dune-project b/js/dune-project index 7685861..169a9b8 100644 --- a/js/dune-project +++ b/js/dune-project @@ -11,4 +11,6 @@ (depends (ocaml (>= 4.13.0)) (odoc :with-doc) + (melange-fetch (= "dev")) + (melange-webapi (= "dev")) (melange-jest :with-test))) diff --git a/js/melange-decoders.opam b/js/melange-decoders.opam index 77b5453..3fa491a 100644 --- a/js/melange-decoders.opam +++ b/js/melange-decoders.opam @@ -7,6 +7,8 @@ depends: [ "dune" {>= "3.8"} "ocaml" {>= "4.13.0"} "odoc" {with-doc} + "melange-fetch" {= "dev"} + "melange-webapi" {= "dev"} "melange-jest" {with-test} ] build: [