Skip to content

fix: keep Search Router results above offline indicator #74551

fix: keep Search Router results above offline indicator

fix: keep Search Router results above offline indicator #74551

Workflow file for this run

name: Check unused styles
on:
workflow_call:
pull_request:
types: [opened, synchronize]
branches-ignore: [staging, production]
paths: ['src/**', '.github/workflows/unused-styles.yml', 'scripts/findUnusedStyles.ts']
concurrency:
group: ${{ github.ref == 'refs/heads/main' && format('{0}-{1}', github.ref, github.sha) || github.ref }}-unused-styles
cancel-in-progress: true
jobs:
check-unused-styles:
name: Check for unused styles
if: ${{ github.event.head_commit.author.name != 'OSBotify' || github.event_name == 'workflow_call' }}
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Checkout
uses: useblacksmith/checkout@1c9394c220d293645707b625ba9d79685f093a8f # v1
- name: Setup Node
uses: ./.github/actions/composite/setupNode
- name: Run unused style searcher
run: npx bun scripts/findUnusedStyles.ts