Skip to content

chore: apply lint fix #158

chore: apply lint fix

chore: apply lint fix #158

Workflow file for this run

name: CI
on:
push:
paths:
- ".github/workflows/**"
- "src/**"
- "tests/**"
- "package.json"
- "pnpm-lock.yaml"
pull_request:
paths:
- ".github/workflows/**"
- "src/**"
- "tests/**"
- "package.json"
- "pnpm-lock.yaml"
workflow_dispatch:
jobs:
default:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: ["lts/*", "*"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Enable Corepack
run: |
npm install --global corepack@latest
corepack enable
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: Lint Source
run: pnpm dlx @biomejs/biome ci
- name: Build Source
run: pnpm run --if-present build
- name: Run Tests
run: pnpm run --if-present test