-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Github Actions in webship-js #120
- Loading branch information
1 parent
51b5a13
commit feb2f40
Showing
1 changed file
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,17 +8,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
env: | ||
TEST_BASE_URL: http://localhost:8000 | ||
TEST_BASE_URL: http://localhost:8080 | ||
SELENIUM_HOST: http://selenium:4444/wd/hub | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: echo "Running the tests" | ||
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." | ||
- uses: nanasess/[email protected] | ||
- run: | | ||
export DISPLAY=:99 | ||
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & | ||
- name: Install Chrome | ||
run: | | ||
CHROME_VERSION="117.0.5938.88-1" | ||
wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb | ||
sudo dpkg -i google-chrome-stable_${CHROME_VERSION}_amd64.deb | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.x' | ||
|
||
- name: install selenium | ||
run: wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.1.0/selenium-server-4.1.2.jar | ||
|