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 <koddsson@gmail.com>
  • Loading branch information
keithamus and koddsson committed Mar 30, 2022
1 parent 75742d3 commit 5da0105
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
- run: yarn install
- run: yarn build

- name: Set Chrome Version
run: |
chromever="$(command $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'")
echo ${contents} > intern.json
cat intern.json
- name: Test
run: yarn test

Expand Down

0 comments on commit 5da0105

Please sign in to comment.