Skip to content

fix base actions to use node16 by default #3

fix base actions to use node16 by default

fix base actions to use node16 by default #3

Workflow file for this run

name: Test CI
on:
push:
branches: [ main ]
jobs:
test:
name: Run tests on node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Check TypeScript definitions
run: yarn test:types
- name: Check linting
run: yarn test:lint
- name: Run unit tests with coverage
run: yarn test:unit