Update all workflows to use Node 12+ for node-sass and other module compatibility, switch IE to Edge for browser testing (IE web driver no longer pre-installed on runner)

This commit is contained in:
Matt Triff 2021-12-17 16:59:43 -05:00
parent de6c46cdd0
commit e64eface11
5 changed files with 10 additions and 10 deletions

View file

@ -18,14 +18,14 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
browser: [ie, firefox, safari]
browser: [edge, firefox, safari]
exclude:
# On Windows, run tests with only IE and Edge
# On Windows, run tests with Edge only
- os: windows-latest
browser: safari
# On macOS, run tests with only on safari
- os: macos-latest
browser: ie
browser: edge
- os: macos-latest
browser: chrome
# Safari workaround is not working in Catalina
@ -82,8 +82,8 @@ jobs:
- run: echo "$env:GeckoWebDriver" >> $GITHUB_PATH
if: matrix.browser == 'firefox' && matrix.os == 'windows-latest'
- run: echo "C:\SeleniumWebDrivers\IEDriver" >> $GITHUB_PATH
if: matrix.browser == 'ie' && matrix.os == 'windows-latest'
- run: echo "$env:EdgeWebDriver" >> $GITHUB_PATH
if: matrix.browser == 'edge' && matrix.os == 'windows-latest'
- run: echo "$env:ChromeWebDriver" >> $GITHUB_PATH
if: matrix.browser == 'chrome' && matrix.os == 'windows-latest'

View file

@ -14,7 +14,7 @@ jobs:
fetch-depth: 1
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Build and run all tests
run: |
npm ci

View file

@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Install dependencies and build
run: |

View file

@ -13,7 +13,7 @@ jobs:
fetch-depth: 1
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
env:
@ -32,7 +32,7 @@ jobs:
fetch-depth: 1
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
registry-url: https://registry.npmjs.org/
- name: Build
run: |

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Install dependencies
run: npm install --no-optional --no-audit --ignore-scripts