Skip to content

chore: fix lint

chore: fix lint #96

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [14, 16, 17]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install deps
run: pnpm install
- name: Run build
run: pnpm build
- name: Run test
run: pnpm test
lint:
runs-on: ubuntu-latest
name: 'Lint: node-16, ubuntu-latest'
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6
- name: Set node version to 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
- name: Install deps
run: pnpm install
- name: Lint
run: pnpm lint