Skip to content

refactor: second iteration of core refactoring #6475

refactor: second iteration of core refactoring

refactor: second iteration of core refactoring #6475

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/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- 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 || 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.57.0
with:
message: icons have changed
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}