mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-09-01 20:58:38 +02:00
* cd: pin actions * fix: remove trailing whitespace in release.yml to pass prettier lint Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com> * Format code --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com>
25 lines
590 B
YAML
25 lines
590 B
YAML
name: Linting PR code
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-code:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
with:
|
|
cache: 'pnpm'
|
|
node-version-file: 'package.json'
|
|
|
|
- name: Install Dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run Linter
|
|
run: pnpm lint
|