1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- name: Test Edge Paths
-
- on: [push]
-
- jobs:
- build-ununtu:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os:
- - ubuntu-latest
- node_version:
- - 12
- - 14
- 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: curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
- - run: sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
- - run: sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
- - run: sudo rm microsoft.gpg
- - run: sudo apt update
- - run: sudo apt install microsoft-edge-dev
- - run: npm install
- - run: node tests/index.js
-
- build-macos:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os:
- - macos-latest
- node_version:
- - 12
- - 14
- 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: wget -O beta.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdgeBeta-88.0.705.29.pkg?platform=Mac&Consent=0&channel=Beta
- - run: wget -O dev.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdgeDev-89.0.752.1.pkg?platform=Mac&Consent=0&channel=Dev
- - run: wget -O canary.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdgeCanary-89.0.760.0.pkg?platform=Mac&Consent=0&channel=Canary
- - run: wget -O stable.pkg https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdge-87.0.664.75.pkg?platform=Mac&Consent=0&channel=Stable
- - run: sudo installer -allowUntrusted -pkg canary.pkg -target /
- - run: sudo installer -allowUntrusted -pkg dev.pkg -target /
- - run: sudo installer -allowUntrusted -pkg beta.pkg -target /
- - run: sudo installer -allowUntrusted -pkg stable.pkg -target /
- - run: node tests/index.js
-
- # build-window:
- # runs-on: ${{ matrix.os }}
- # strategy:
- # matrix:
- # os:
- # - windows-latest
- # node_version:
- # - 12
- # - 14
- # 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/index.js
|