-
Notifications
You must be signed in to change notification settings - Fork 67
33 lines (30 loc) · 946 Bytes
/
Copy pathcompressed-diff.yml
File metadata and controls
33 lines (30 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Compressed Size
on:
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2 # Checkout the Stackable Premium repo.
with:
repository: 'bfintal/Stackable-Premium'
ref: 'develop'
path: 'pro__premium_only'
token: '${{ secrets.ACCESS_KEY }}'
- name: Install Composer Dependencies
run: |
composer install --prefer-dist --no-progress --ignore-platform-reqs
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
install-script: "npm ci --legacy-peer-deps"
build-script: "build:no-translate"
clean-script: "clean"
pattern: "./build/stackable/**"
exclude: "{**/*.map,**/node_modules/**}"