Skip to content

Update workflows

Update workflows #258

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and
# run tests across different versions of node
name: Tests
on: [ push, pull_request ]
permissions:
contents: read
pull-requests: read
jobs:
build:
name: Build and Test
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [ 8.x, 10.x, 11.x ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test