From 8fade6b261ff66579cea5b593a8624b0659823ff Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Thu, 5 Oct 2023 11:09:14 -0400 Subject: [PATCH] Try linking up the packages in this repo during CI. --- .github/workflows/ci-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index d5cfcc2b4..6008ce680 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -26,4 +26,11 @@ jobs: working-directory: ${{ matrix.package }} run: | npm install || npm list + # depending on which package we are testing, also npm link up other dependent packages + case "$PWD" in + */webhook) npm link ../types;; + */web-api) npm link ../types && npm link ../logger;; + # TODO: add oauth and socket-mode here once those packages have new major versions released + *) ;; # default + esac npm test