-
Notifications
You must be signed in to change notification settings - Fork 74
46 lines (36 loc) · 1.01 KB
/
lockdown-canary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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-dev:
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@v1
id: setup-chrome
with:
chrome-version: 'dev'
- name: build ses
run: |
cd ./packages/ses/
yarn
- name: install dependencies
run: |
cd ./packages/ses/smoke-test/
yarn install
- name: Run tests
run: |
${{ steps.setup-chrome.outputs.chrome-path }} --version
node ./packages/ses/smoke-test/index.js ${{ steps.setup-chrome.outputs.chrome-path }}