Skip to content

lint: Fix double quotes and indentation #107

lint: Fix double quotes and indentation

lint: Fix double quotes and indentation #107

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['20.x', '21.x', '22.x']
os:
- ubuntu-latest
# - macOS-latest
# - windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4.x
- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Pnpm install
run: pnpm install --strict-peer-dependencies
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
# - name: Test
# run: pnpm test -- --check-coverage
- name: Test & code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: pnpm coverage