Skip to content

fix: improve handling of pseudo classes and elements #258

fix: improve handling of pseudo classes and elements

fix: improve handling of pseudo classes and elements #258

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 🔠 Lint project
run: pnpm lint
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
CI: true
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 💪 Test types
run: pnpm test:types
- name: 🛠 Build project
run: pnpm build
- name: 🧪 Test project
run: pnpm test
- name: Run benchmarks
if: matrix.os != 'windows-latest'
uses: CodSpeedHQ/action@v3
with:
run: pnpm vitest bench
token: ${{ secrets.CODSPEED_TOKEN }}
- name: 🟩 Coverage
if: matrix.os != 'windows-latest'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}