diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51a90c697..d4f8a4aaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,13 @@ jobs: - run: yarn install - run: yarn build + - name: Set Chrome Version + run: | + CHROMEVER="$(chromedriver --version | cut -d' ' -f2)" + CONTENTS="$(jq '.tunnelOptions.drivers[0].name = "chrome"' < intern.json)" + CONTENTS="$(echo ${CONTENTS} | jq --arg chromever "$CHROMEVER" '.tunnelOptions.drivers[0].version = $chromever')" + cat intern.json + - name: Test run: yarn test