scope icon codegen ci
This commit is contained in:
@@ -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
|
||||||
@@ -25,8 +25,6 @@ jobs:
|
|||||||
[
|
[
|
||||||
lint,
|
lint,
|
||||||
prettier,
|
prettier,
|
||||||
'icons:check',
|
|
||||||
'icons:test',
|
|
||||||
'lexicons:verify',
|
'lexicons:verify',
|
||||||
'typecheck:ios',
|
'typecheck:ios',
|
||||||
'typecheck:android',
|
'typecheck:android',
|
||||||
|
|||||||
Reference in New Issue
Block a user