Skip to content

Add CONTRIBUTING.md to .npmignore #36

Add CONTRIBUTING.md to .npmignore

Add CONTRIBUTING.md to .npmignore #36

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 20
- 22
- 24
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build package
run: npm run build
- name: Run linter
run: npm run lint
- name: Run type check
run: npm run typecheck
- name: Check bundle size
run: npx size-limit
- name: Run tests with coverage
run: npm run test:coverage
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.node-version }}
path: coverage/