mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-28 17:46:20 +01:00
44 lines
964 B
YAML
44 lines
964 B
YAML
name: Lucide Icons Checks
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- packages/icons/**
|
|
- packages/shared/**
|
|
- tools/build-icons/**
|
|
- tools/rollup-plugins/**
|
|
- pnpm-lock.yaml
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: pnpm/action-setup@v4
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
cache: 'pnpm'
|
|
node-version-file: 'package.json'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build
|
|
run: pnpm --filter @lucide/icons build
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: pnpm/action-setup@v4
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
cache: 'pnpm'
|
|
node-version-file: 'package.json'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Test
|
|
run: pnpm --filter @lucide/icons test
|