Skip to content

fix import/header issue. #86

fix import/header issue.

fix import/header issue. #86

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/[email protected]
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: [ 18, 20, 21 ]
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