diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 74b0520..9a03789 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -1004,8 +1004,18 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.7 - - name: Install dependencies - run: yarn global add https://github.com/thelounge/thelounge.git + - name: Checkout TheLounge + uses: actions/checkout@v3 + with: + path: thelounge + ref: master + repository: thelounge/thelounge + - name: Build TheLounge + run: | + cd $GITHUB_WORKSPACE/thelounge + yarn install + NODE_ENV=production yarn build + ln -s $(pwd)/index.js ~/.local/bin/thelounge - name: Install system dependencies run: sudo apt-get install atheme-services faketime - name: Install irctest dependencies diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index 97e5409..98f455d 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -1162,8 +1162,18 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.7 - - name: Install dependencies - run: yarn global add thelounge@4.4.0 + - name: Checkout TheLounge + uses: actions/checkout@v3 + with: + path: thelounge + ref: v4.4.0 + repository: thelounge/thelounge + - name: Build TheLounge + run: | + cd $GITHUB_WORKSPACE/thelounge + yarn install + NODE_ENV=production yarn build + ln -s $(pwd)/index.js ~/.local/bin/thelounge - name: Install system dependencies run: sudo apt-get install atheme-services faketime - name: Install irctest dependencies diff --git a/workflows.yml b/workflows.yml index 13b2de5..6d353c7 100644 --- a/workflows.yml +++ b/workflows.yml @@ -381,18 +381,19 @@ software: thelounge: name: TheLounge + repository: thelounge/thelounge separate_build_job: false - install_steps: - stable: - - name: Install dependencies - run: yarn global add thelounge@4.4.0 - release: - - name: Install dependencies - run: yarn global add thelounge - devel: - - name: Install dependencies - run: yarn global add https://github.com/thelounge/thelounge.git + refs: + stable: "v4.4.0" + release: "v4.4.0" + devel: "master" devel_release: null + path: thelounge + build_script: | + cd $GITHUB_WORKSPACE/thelounge + yarn install + NODE_ENV=production yarn build + ln -s $(pwd)/index.js ~/.local/bin/thelounge tests: bahamut: