Skip to content

Commit

Permalink
squashme - back to linux
Browse files Browse the repository at this point in the history
  • Loading branch information
naugtur committed Jan 17, 2024
1 parent f5fe944 commit 170e964
Showing 1 changed file with 11 additions and 43 deletions.
54 changes: 11 additions & 43 deletions .github/workflows/lockdown-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,45 +9,11 @@ on:
- cron: '0 0 * * *' # Runs every day at midnight

jobs:
# chrome-beta:
# runs-on: ubuntu-latest
# # runs-on: macos-latest
# ## chrome-canary is not supported on linux o_O
# ## but canary on mac won't connect

# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Use Node.js stable
# uses: actions/setup-node@v3

# - name: Setup Chrome
# uses: browser-actions/setup-chrome@latest
# ## location is OS dependent
# with:
# chrome-version: 'beta'

# - name: build ses
# run: |
# cd ./packages/ses/
# yarn

# - name: install dependencies
# run: |
# cd ./packages/ses/smoke-test/
# yarn install

# - name: Run tests
# run: |
# echo "$(which chrome)" "$(which google-chrome-unstable)" "$(which google-chrome)" "$(which google-chrome-beta)"
# node ./packages/ses/smoke-test/index.js "$(which chrome)"

chrome-canary:
runs-on: windows-latest
chrome-dev:
runs-on: ubuntu-latest
# runs-on: macos-latest
## chrome-canary is not supported on linux o_O
## but puppeteer on mac times out
## trying windows
## but canary on mac won't connect

steps:
- name: Checkout
Expand All @@ -57,10 +23,10 @@ jobs:
uses: actions/setup-node@v3

- name: Setup Chrome
uses: browser-actions/setup-chrome@latest
## location is OS dependent
uses: browser-actions/setup-chrome@v1
id: setup-chrome
with:
chrome-version: 'canary'
chrome-version: 'dev'

- name: build ses
run: |
Expand All @@ -74,5 +40,7 @@ jobs:
- name: Run tests
run: |
echo "$(where chrome)"
node ./packages/ses/smoke-test/index.js "$(where chrome)"
${{ steps.setup-chrome.outputs.chrome-path }} --version
node ./packages/ses/smoke-test/index.js ${{ steps.setup-chrome.outputs.chrome-path }}

0 comments on commit 170e964

Please sign in to comment.