Skip to content

🚀 Release/v4.0.0-rc.9 #8688

🚀 Release/v4.0.0-rc.9

🚀 Release/v4.0.0-rc.9 #8688

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]
- name: Copy flags from design tokens icons
run: |
rm -rf ./projects/icons/src/flags && mkdir -p ./projects/icons/src/flags
cp -R ./node_modules/@taiga-ui/design-tokens/icons/flags/* ./projects/icons/src/flags
npx prettier ./projects/icons/src/flags --write
- run: |
npx nx prebuild icons
npx nx build icons
npx prettier ./projects/icons/src/* --write
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/[email protected]
with:
message: icons have changed
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}