Skip to content

Commit 1a6704d

Browse files
try different approach
1 parent cd83e62 commit 1a6704d

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/compressed-diff.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,27 @@ jobs:
1616
ref: 'v3'
1717
path: 'pro__premium_only'
1818
token: '${{ secrets.ACCESS_KEY }}'
19+
- name: Setup Python
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.9'
1923
- name: Setup Node
2024
uses: actions/setup-node@v3
2125
with:
2226
node-version: 18.x
2327
cache: 'npm'
24-
- name: Install Dependencies
28+
- name: Install Build Tools
2529
run: |
26-
npm ci
27-
- name: Build Project
30+
sudo apt-get update
31+
sudo apt-get install -y build-essential
32+
- name: Install Dependencies
2833
run: |
29-
npm run build:no-translate
34+
npm ci --legacy-peer-deps
35+
cd pro__premium_only
36+
npm ci --legacy-peer-deps
3037
- uses: preactjs/compressed-size-action@v2
3138
with:
3239
repo-token: "${{ secrets.GITHUB_TOKEN }}"
33-
build-script: "true"
40+
clean-script: "clean"
3441
pattern: "./build/stackable/**"
3542
exclude: "{**/*.map,**/node_modules/**}"

0 commit comments

Comments
 (0)