Skip to content

Removing Node.js versions 8 and 10 from GitHub Actions test matrix. #23

Removing Node.js versions 8 and 10 from GitHub Actions test matrix.

Removing Node.js versions 8 and 10 from GitHub Actions test matrix. #23

Workflow file for this run

name: 'Lint and Test'
on:
workflow_dispatch:
push:
branches:
- master
- github_actions
- support_node16
pull_request:
jobs:
lint-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
nodejs_version: [ 12, 14, 16, 18 ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodejs_version }}
- run: node --version && npm --version
- run: npm install
- run: npm run lint
- run: npm run test
# Requires setting up Coveralls access token
# - run: npm run check-coverage && (cat ./coverage/lcov.info | ./node_modules/.bin/coveralls)