From 170e964f3bffd71e65492fc0903d609375e3b5b1 Mon Sep 17 00:00:00 2001 From: naugtur Date: Wed, 17 Jan 2024 15:04:42 +0100 Subject: [PATCH] squashme - back to linux --- .github/workflows/lockdown-canary.yml | 54 ++++++--------------------- 1 file changed, 11 insertions(+), 43 deletions(-) diff --git a/.github/workflows/lockdown-canary.yml b/.github/workflows/lockdown-canary.yml index 5bb0aa96df..73da71f6ae 100644 --- a/.github/workflows/lockdown-canary.yml +++ b/.github/workflows/lockdown-canary.yml @@ -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 @@ -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: | @@ -74,5 +40,7 @@ jobs: - name: Run tests run: | - echo "$(where chrome)" - node ./packages/ses/smoke-test/index.js "$(where chrome)" \ No newline at end of file + ${{ steps.setup-chrome.outputs.chrome-path }} --version + node ./packages/ses/smoke-test/index.js ${{ steps.setup-chrome.outputs.chrome-path }} + + \ No newline at end of file