From afb50b0874a131aa43212dc370539f500b83048c Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 14 Aug 2026 22:19:02 +0300 Subject: [PATCH] scope icon codegen ci --- .github/workflows/icons.yml | 36 ++++++++++++++++++++++++++++++++++++ .github/workflows/lint.yml | 2 -- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/icons.yml diff --git a/.github/workflows/icons.yml b/.github/workflows/icons.yml new file mode 100644 index 0000000000..7d94dba1c2 --- /dev/null +++ b/.github/workflows/icons.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e9e4f96619..e63de19c73 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,8 +25,6 @@ jobs: [ lint, prettier, - 'icons:check', - 'icons:test', 'lexicons:verify', 'typecheck:ios', 'typecheck:android',