From 5f5e1f6090fd134a245b77919cdee52b9dd31f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Sat, 17 Sep 2022 18:10:03 +0200 Subject: [PATCH] pull active branch for CI --- .github/workflows/node.js.yml | 2 +- bootstrap.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f7775ff..cb07c35 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -27,6 +27,6 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install yarn - run: | - XTERMJS=5.0.0 ./bootstrap.sh + XTERMJS=5.0.0 IMAGEADDON=${{ github.head_ref || github.ref_name }} ./bootstrap.sh - run: cd xterm-addon-image/xterm.js && yarn test - run: cd xterm-addon-image/xterm.js && yarn test-api-chromium --headless diff --git a/bootstrap.sh b/bootstrap.sh index bdadf13..d82384b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -10,7 +10,7 @@ rm -rf .git # clone addon cd addons -git clone https://github.com/jerch/xterm-addon-image +git clone --branch $IMAGEADDON https://github.com/jerch/xterm-addon-image cd .. # overwrite files in base repo to have full test integration