squashme - win #17
Workflow file for this run
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
name: Lockdown Canary | |
## detects lockdown issues on latest chrome | |
on: | |
push: | |
branches: | |
- lockdown-canary | |
schedule: | |
- 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-canary is not supported on linux o_O | |
## but puppeteer on mac times out | |
## trying windows | |
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: 'canary' | |
- name: build ses | |
run: | | |
cd ./packages/ses/ | |
yarn | |
- name: install dependencies | |
run: | | |
cd ./packages/ses/smoke-test/ | |
yarn install | |
- name: Run tests | |
run: | | |
echo "$(where chrome)" | |
node ./packages/ses/smoke-test/index.js "$(where chrome)" |