Fix blocks in unsynced patterns can enable overrides #78537
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compressed Size | |
on: | |
pull_request: | |
paths: | |
# Any change to a CSS, Sass, or JavaScript file should run checks. | |
- '**.js' | |
- '**.css' | |
- '**.scss' | |
# Changes to any NPM related files could affect the outcome. | |
- '**package*.json' | |
# These files configures ESLint. Changes could affect the outcome. | |
- '**.eslint*' | |
# These files configures JSHint. Changes could affect the outcome. | |
- '**.jshint*' | |
# These files configures Prettier. Changes could affect the outcome. | |
- '**.prettier*' | |
# These files configures stylelint. Changes could affect the outcome. | |
- '**.stylelint*' | |
# These files configures TypeScript. Changes could affect the outcome. | |
- '**.tsconfig*' | |
# This file configures Webpack. Changes could affect the outcome. | |
- 'webpack.config.js' | |
# Changes to this workflow file should always verify the changes are successful. | |
- '.github/workflows/bundle-size.yml' | |
# Cancels all previous workflow runs for pull requests that have not completed. | |
concurrency: | |
# The concurrency group contains the workflow name and the branch name for pull requests | |
# or the commit hash for any other events. | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
with: | |
fetch-depth: 1 | |
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} | |
- name: Use desired version of Node.js | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version-file: '.nvmrc' | |
check-latest: true | |
cache: npm | |
- uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c # v2.6.0 | |
with: | |
repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
pattern: '{build/**/*.min.js,build/**/*.css}' | |
clean-script: 'distclean' |