mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-03 14:23:12 +02:00
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:
parent
de6c46cdd0
commit
e64eface11
10
.github/workflows/browsers.yml
vendored
10
.github/workflows/browsers.yml
vendored
|
@ -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'
|
||||
|
|
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/bundlesize.yml
vendored
2
.github/workflows/bundlesize.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10
|
||||
node-version: 12
|
||||
|
||||
- name: Install dependencies and build
|
||||
run: |
|
||||
|
|
4
.github/workflows/deployment.yml
vendored
4
.github/workflows/deployment.yml
vendored
|
@ -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: |
|
||||
|
|
2
.github/workflows/unit-tests.yml
vendored
2
.github/workflows/unit-tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue