Skip to content

fix compressed-diff workflow #3141

fix compressed-diff workflow

fix compressed-diff workflow #3141

name: Compressed Size
on:
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4 # Checkout the Stackable Premium repo.
with:
repository: 'bfintal/Stackable-Premium'
ref: 'v3'
path: 'pro__premium_only'
token: '${{ secrets.ACCESS_KEY }}'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- name: Install Dependencies
run: |
npm ci
- name: Build Project
run: |
npm run build:no-translate
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: "./build/stackable/**"
exclude: "{**/*.map,**/node_modules/**}"