mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 18:40:41 +00:00
JS tests: only test one Node.js version (#35481)
This commit is contained in:
parent
63d38b1974
commit
68f226750d
11
.github/workflows/js.yml
vendored
11
.github/workflows/js.yml
vendored
@ -9,17 +9,13 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
|
NODE: 16
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
name: Node ${{ matrix.node }}
|
name: JS Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
node: [12, 14, 16]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -27,7 +23,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ env.NODE }}
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Install npm dependencies
|
- name: Install npm dependencies
|
||||||
@ -41,7 +37,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Coveralls
|
- name: Run Coveralls
|
||||||
uses: coverallsapp/github-action@1.1.3
|
uses: coverallsapp/github-action@1.1.3
|
||||||
if: matrix.node == 16
|
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
path-to-lcov: "./js/coverage/lcov.info"
|
path-to-lcov: "./js/coverage/lcov.info"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user