Skip to content

fluent-ui-icons-db

fluent-ui-icons-db #96

Workflow file for this run

name: fluent-ui-icons-db
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # runs at 12:00AM UTC every Sunday
jobs:
fluent-ui-icons-indexer:
runs-on: ubuntu-latest
steps:
- name: checkout repo content # checkout the repository content to github runner.
uses: actions/checkout@v4
- name: setup node # install node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: setup python # install python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: install dependencies # install dependencies
run: npm install --force
- name: update fluent ui icons dependency # install latest fluent ui dependency
run: npm install -D @fluentui/svg-icons@latest --force
- name: index icons # run icon indexer python script
run: |
python indexer.py --production
- name: build website # build website
run: npm run build:web
- name: commit changes # commit changes (if available)
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: updated icons database'
commit_user_name: Benny Bot
commit_user_email: [email protected]
commit_author: bennymeg <[email protected]>
# - name: assert workflow active # keep workflow alive (if needed)
# uses: gautamkrishnar/keepalive-workflow@v1
# with:
# committer_username: Benny Bot
# committer_email: [email protected]