fix(core): Hint
fix change detection when changing content programmatically
#10329
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: actions/checkout@v4.2.0 | |
with: | |
persist-credentials: false | |
- uses: taiga-family/ci/actions/setup/variables@v1.87.8 | |
- uses: taiga-family/ci/actions/setup/node@v1.87.8 | |
- name: Lucide icons | |
run: | | |
npx nx prebuild icons | |
npx nx build icons | |
- name: Material icons | |
run: | | |
npx nx prebuild icons-material | |
npx nx build icons-material | |
- name: FontAwesome icons | |
run: | | |
npx nx prebuild icons-fontawesome | |
npx nx build icons-fontawesome | |
- run: | | |
npx ts-node ./scripts/generate-used-icons.ts | |
npx eslint ./projects/cdk/constants/used-icons.ts --fix || echo "no file matching" | |
npx eslint ./projects/demo/used-icons.ts --fix || echo "no file matching" | |
npx prettier ./projects/demo/used-icons.ts --write || echo "no file matching" | |
npx prettier ./projects/cdk/constants/used-icons.ts --write || echo "no file matching" | |
- uses: taiga-family/ci/actions/auto/push@v1.87.8 | |
if: env.SUPPORT_AUTO_PUSH | |
with: | |
message: icons have changed | |
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |