Skip to content

Commit

Permalink
fix(build/mel): pins/melange deps
Browse files Browse the repository at this point in the history
  • Loading branch information
actionshrimp committed Aug 18, 2023
1 parent 337aa42 commit 53250cf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:melange-community/melange-jest.git
opam pin -y -n melange-fetch [email protected]:melange-community/melange-fetch.git
opam pin -y -n melange-webapi [email protected]:melange-community/melange-webapi.git
- run: opam install decoders-melange.opam --with-test
working-directory: js
Expand Down
2 changes: 2 additions & 0 deletions js/dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@
(depends
(ocaml (>= 4.13.0))
(odoc :with-doc)
(melange-fetch (= "dev"))
(melange-webapi (= "dev"))
(melange-jest :with-test)))
2 changes: 2 additions & 0 deletions js/melange-decoders.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 53250cf

Please sign in to comment.