Skip to content

docs: Insert maintenance notice #1693

docs: Insert maintenance notice

docs: Insert maintenance notice #1693

Workflow file for this run

name: compressed-size
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
wmr:
- 'packages/wmr/**'
- 'examples/demo/**'
preact-iso:
- 'packages/preact-iso/**'
- name: compressed-size-action
if: ${{ steps.filter.outputs.wmr == 'true' }}
uses: preactjs/compressed-size-action@v2
with:
pattern: '{packages/wmr/wmr.cjs,examples/demo/dist/**/*.{js,css,html}}'
build-script: ci
strip-hash: "\\.(\\w{8})\\.(?:js|css)$"
repo-token: '${{ secrets.GITHUB_TOKEN }}'
- name: compressed-size-action
if: ${{ steps.filter.outputs.preact-iso == 'true' }}
uses: preactjs/compressed-size-action@v2
with:
pattern: '{packages/preact-iso/*.js,packages/preact-iso/.dist/*.js}'
build-script: 'iso test-build'
strip-hash: "\\.(\\w{8})\\.js$"
repo-token: '${{ secrets.GITHUB_TOKEN }}'