forked from gambitph/Stackable
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 897 Bytes
/
compressed-diff.yml
File metadata and controls
31 lines (28 loc) · 897 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
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: 'v3'
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 # Fix because we can't do npm ci --legacy-peer-deps
uses: actions/setup-node@v1
with:
node-version: 14.x
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
clean-script: "clean"
pattern: "./build/stackable/**"
exclude: "{**/*.map,**/node_modules/**}"