scope icon codegen ci

This commit is contained in:
Samuel Newman
2026-08-14 22:19:02 +03:00
parent 616b7612e2
commit afb50b0874
2 changed files with 36 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
name: Icon codegen
on:
pull_request:
paths:
- 'assets/icons/**'
push:
branches:
- main
paths:
- 'assets/icons/**'
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
cancel-in-progress: true
permissions:
contents: read
jobs:
check:
name: Check generated icons
runs-on: ubuntu-latest
steps:
- name: ⬇️ Check out Git repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: 🔧 Install node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: package.json
cache: pnpm
- name: 📦 pnpm install
run: pnpm install --frozen-lockfile
- name: 🖼️ Check generated icons
run: pnpm icons:check
-2
View File
@@ -25,8 +25,6 @@ jobs:
[
lint,
prettier,
'icons:check',
'icons:test',
'lexicons:verify',
'typecheck:ios',
'typecheck:android',