Skip to content

Commit 0ee2bd0

Browse files
fix compressed-diff workflow
1 parent 60e5ed7 commit 0ee2bd0

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/compressed-diff.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,22 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/checkout@v2 # Checkout the Stackable Premium repo.
12+
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v4 # Checkout the Stackable Premium repo.
1414
with:
1515
repository: 'bfintal/Stackable-Premium'
1616
ref: 'v3'
1717
path: 'pro__premium_only'
1818
token: '${{ secrets.ACCESS_KEY }}'
19-
- name: Install Composer Dependencies
20-
run: |
21-
composer install --prefer-dist --no-progress --ignore-platform-reqs
22-
- name: Setup Node # Fix because we can't do npm ci --legacy-peer-deps
23-
uses: actions/setup-node@v1
19+
- name: Setup Node
20+
uses: actions/setup-node@v3
2421
with:
25-
node-version: 14.x
22+
node-version: 18.x
23+
cache: 'npm'
24+
- name: Install Dependencies
25+
run: |
26+
npm install
27+
cd pro__premium_only && npm install
2628
- uses: preactjs/compressed-size-action@v2
2729
with:
2830
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)