From 02645cf1db923fc166f64b09f9ceeb48c46da5ac Mon Sep 17 00:00:00 2001 From: "Haochen M. Kotoi-Xie" Date: Thu, 23 Nov 2023 05:52:15 +0900 Subject: [PATCH] Update common.yml Signed-off-by: Haochen M. Kotoi-Xie --- .github/workflows/common.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index 55f0174..79163a8 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -33,8 +33,8 @@ jobs: with: ocaml-version: ${{ matrix.ocaml-version }} node-version: ${{ matrix.node-version }} - setup-command: "opam install --locked . -y --deps-only --with-test" + setup-command: "opam install --locked . -y --deps-only --with-test && (cd jsland && yarn install --frozen-lockfile)" # Since `dune` was needed to run `yarn build`, they are also called here. build-command: - "(dune build && cd jsland && yarn install --frozen-lockfile && yarn build)" - pr-report-test-result: ${{ matrix.ocaml-version == '5.1.0' }} + "(dune build && cd jsland && yarn build)" + pr-report-test-result: ${{ matrix.ocaml-version == '5.1.0' && matrix.node-version == 'hydrogen' }}