Skip to content

Commit

Permalink
set intern CHROMEDRIVER version
Browse files Browse the repository at this point in the history
Pins Intern chromedriver to the one available in actions

Refs theintern/intern#1159

Co-authored-by: Kristján Oddsson <[email protected]>
  • Loading branch information
keithamus and koddsson committed Mar 30, 2022
1 parent 75742d3 commit f7e67da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f7e67da

Please sign in to comment.