2023-05-12 16:03:30 +00:00
|
|
|
# name: Webdriver nightly (browserstack)
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# on:
|
|
|
|
# workflow_dispatch:
|
|
|
|
# schedule:
|
|
|
|
# - cron: '0 2 * * *' # run at 2 AM UTC
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# jobs:
|
|
|
|
# test:
|
|
|
|
# name: 'nightly'
|
|
|
|
# runs-on: ${{ matrix.os }}
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# strategy:
|
|
|
|
# fail-fast: false
|
|
|
|
# matrix:
|
|
|
|
# os: [ubuntu-latest-16-cores-open]
|
|
|
|
# node-version: [16]
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# container:
|
|
|
|
# image: node:${{ matrix.node-version }}
|
|
|
|
# options: --network-alias testhost
|
|
|
|
# volumes:
|
|
|
|
# - /home/runner/work/_temp/e2e:/home/runner/work/_temp/e2e
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# steps:
|
|
|
|
# # start browserstack
|
|
|
|
# - name: 'BrowserStack Env Setup' # Invokes the setup-env action
|
|
|
|
# uses: browserstack/github-actions/setup-env@master
|
|
|
|
# with:
|
|
|
|
# username: jamieblair_YXsTBS
|
|
|
|
# access-key: BUcyZn9PF4iwKgayXinm
|
|
|
|
# - name: 'BrowserStack Local Tunnel Setup' # Invokes the setup-local action
|
|
|
|
# uses: browserstack/github-actions/setup-local@master
|
|
|
|
# with:
|
|
|
|
# local-testing: start
|
|
|
|
# local-identifier: random
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# - name: Check out code
|
|
|
|
# uses: actions/checkout@v3
|
|
|
|
# with:
|
|
|
|
# fetch-depth: 0
|
|
|
|
# submodules: true
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# - name: Setup Node.js environment
|
|
|
|
# uses: actions/setup-node@v3
|
|
|
|
# with:
|
|
|
|
# node-version: 18
|
|
|
|
# cache: 'yarn'
|
|
|
|
# cache-dependency-path: 'public-yarn.lock'
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# - name: Enable corepack
|
|
|
|
# run: corepack enable
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# - name: Install dependencies
|
|
|
|
# run: yarn
|
2023-05-12 15:25:14 +00:00
|
|
|
|
2023-05-12 16:03:30 +00:00
|
|
|
# - run: yarn e2e test:ci nightly
|
|
|
|
# env:
|
|
|
|
# CI: true
|
|
|
|
# DOWNLOADS_DIR: '/home/runner/work/_temp/e2e/'
|
|
|
|
# TEST_URL: 'https://testhost:5421'
|
|
|
|
# WB_BUILD_NAME: 'nightly'
|
|
|
|
# BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }}
|
|
|
|
# BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }}
|