Skip to content

chore: generate an array of icons used on demo-page #2401

chore: generate an array of icons used on demo-page

chore: generate an array of icons used on demo-page #2401

name: 🤖 Auto update bundled & used icons
on:
pull_request:
workflow_dispatch:
jobs:
bundling:
if: ${{ !contains(github.head_ref , 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: |
npx nx prebuild icons
npx nx build icons
npx ts-node ./scripts/generate-used-icons.ts
npx eslint ./projects/cdk/constants/used-icons.ts --fix
npx prettier ./projects/cdk/constants/used-icons.ts --write
- uses: taiga-family/ci/actions/auto/[email protected]
with:
message: icons have changed
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}