Skip to content

feat: Centralise node version #300

feat: Centralise node version

feat: Centralise node version #300

Workflow file for this run

name: Tests
on:
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ${{ fromJSON(vars.SUPPORTED_NODE_VERSIONS) }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.version }}
uses: actions/setup-node@v3
with:
check-latest: true
node-version: ${{ matrix.version }}
- name: Install
run: npm ci
- name: Test
run: npm test