feat: Badge to Tailwind #4322
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] | |
env: # Set environment variables for every job and step in this workflow | |
CLICOLOR: "1" # Enable colors for *NIX commands | |
PY_COLORS: "1" # Enable colors for Python-based utilities | |
FORCE_COLOR: "1" # Force colors in the terminal | |
STREAMLINE_SECRET: ${{ secrets.STREAMLINE_SECRET }} | |
STREAMLINE_FAMILIES: ${{ secrets.STREAMLINE_FAMILIES }} | |
permissions: | |
contents: read | |
jobs: | |
build: | |
permissions: | |
checks: write # for preactjs/compressed-size-action to create and update the checks | |
contents: read # for actions/checkout to fetch code | |
issues: write # for preactjs/compressed-size-action to create comments | |
pull-requests: write # for preactjs/compressed-size-action to write a PR review | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Node | |
uses: ./.github/actions/node | |
- uses: actions/checkout@v4 | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
build-script: build-ci | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
pattern: "packages/orbit-components/lib/**/*.js" |