mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 06:57:41 +01:00
* Ignore linting for examples in docs * Formatting JSX single attribute per line * Separte `format` and `lint:format` in package.json * Bump prettier version * Run format
37 lines
762 B
YAML
37 lines
762 B
YAML
name: Lucide font checks
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- icons/**
|
|
- tools/build-font/**
|
|
- pnpm-lock.yaml
|
|
|
|
jobs:
|
|
lucide-font:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 8
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Outline svg Icons
|
|
run: pnpm build:outline-icons
|
|
|
|
- name: Create font in ./lucide-font
|
|
run: pnpm build:font
|
|
|
|
- name: 'Upload to Artifacts'
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: lucide-font
|
|
path: lucide-font
|