Skip to content

Move some frequently used things to constants #4121

Move some frequently used things to constants

Move some frequently used things to constants #4121

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches:
- '**'
push:
branches:
- main
- restructure
- v11
jobs:
filter_jobs:
name: Filter jobs
runs-on: ubuntu-latest
outputs:
jsChanged: ${{ steps.filter.outputs.jsChanged }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
# Should be kept in sync with the filter in the PR Reporter workflow
filters: |
jsChanged: '**/src/**/*.js'
compressed_size:
name: Compressed Size
needs: filter_jobs
if: ${{ needs.filter_jobs.outputs.jsChanged == 'true' }}
uses: ./.github/workflows/size.yml
build_test:
name: Build & Test
needs: filter_jobs
uses: ./.github/workflows/build-test.yml
benchmarks:
name: Benchmarks
needs: build_test
if: ${{ needs.filter_jobs.outputs.jsChanged == 'true' }}
uses: ./.github/workflows/benchmarks.yml