mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-28 16:26:21 +01:00
* Adjust typescript types * adjust types * fix types in all helper files * Fix types * Migrate js files to ts files * Refactor to TS files * Rename extentions * Adjust imports * Fix builds * Update lockfile * Fix last typescript migration * Fix entry path @lucide/outline-svg * Fix types * add checkout step * format files * Format files
43 lines
936 B
YAML
43 lines
936 B
YAML
name: Lucide Astro Checks
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- packages/astro/**
|
|
- packages/shared/**
|
|
- tools/build-icons/**
|
|
- pnpm-lock.yaml
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v2
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: 'package.json'
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build
|
|
run: pnpm --filter @lucide/astro build
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: pnpm/action-setup@v2
|
|
- uses: actions/setup-node@v3.8.1
|
|
with:
|
|
node-version-file: 'package.json'
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Test
|
|
run: pnpm --filter @lucide/astro test
|