Skip to content

fix import/header issue. #85

fix import/header issue.

fix import/header issue. #85

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
cancel_previous:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.9.1
with:
workflow_id: ${{ github.event.workflow.id }}
build-and-test:
name: "Test (Node.js v${{ matrix.node-version }})"
needs: cancel_previous
runs-on: 'ubuntu-latest'
strategy:
matrix:
node-version: [ 14, 16, 18 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test --coverage