Skip to content

Commit

Permalink
JS tests: only test one Node.js version (#35481)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Dec 14, 2021
1 parent 3a7067d commit 3d80aa3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,21 @@ on:

env:
FORCE_COLOR: 2
NODE: 16

jobs:
run:
name: Node ${{ matrix.node }}
name: JS Tests
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node: [12, 14, 16]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
node-version: ${{ env.NODE }}
cache: npm

- name: Install npm dependencies
Expand All @@ -41,7 +37,6 @@ jobs:

- name: Run Coveralls
uses: coverallsapp/github-action@1.1.3
if: matrix.node == 16
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
path-to-lcov: "./js/coverage/lcov.info"

0 comments on commit 3d80aa3

Please sign in to comment.