-
Notifications
You must be signed in to change notification settings - Fork 4
94 lines (90 loc) · 3.22 KB
/
tests.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: Test Edge Paths
on: [push, pull_request]
jobs:
build-ununtu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-18.04
node_version:
- 14
- 16
- 17
architecture:
- x64
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
- run: npm install
- run: node tests/downloadEdge.js
- run: for f in *.deb;do echo $f;sudo apt install -y ./$f; done
- run: ls
- run: node tests/index.js
build-macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- macos-11
node_version:
- 14
- 16
- 17
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
- run: npm install
- run: node tests/downloadEdge.js
- run: sudo su
- run: sudo installer -allowUntrusted -pkg MicrosoftEdge-*.pkg -target /
- run: sudo installer -allowUntrusted -pkg MicrosoftEdgeBeta-*.pkg -target /
- run: sudo installer -allowUntrusted -pkg MicrosoftEdgeCanary-*.pkg -target /
- run: sudo installer -allowUntrusted -pkg MicrosoftEdgeDev-*.pkg -target /
- run: ls
- run: node tests/index.js
build-window:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- windows-latest
- windows-2022
node_version:
- 14
- 16
- 17
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
- uses: browser-actions/setup-edge@latest
with:
edge-version: stable
- uses: browser-actions/setup-edge@latest
with:
edge-version: beta
- uses: browser-actions/setup-edge@latest
with:
edge-version: canary
- uses: browser-actions/setup-edge@latest
with:
edge-version: dev
- run: npm install
- run: node tests/index.js