Skip to content

Allow tests to be run on pull requests #63

Allow tests to be run on pull requests

Allow tests to be run on pull requests #63

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, latest]
steps:
- uses: actions/[email protected]
- name: Setup Node ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint with prettier
run: yarn lint
- name: Run tests
run: yarn test