-
Notifications
You must be signed in to change notification settings - Fork 67
fix compressed-diff workflow #3589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 7 commits
0ee2bd0
b22aecd
09ee926
8a4bb86
578558d
cd83e62
1a6704d
efb3052
a740f0e
71acb10
9b93e2d
061a4e9
61a69d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -9,20 +9,31 @@ jobs: | |||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||
|
|
||||||||||||||
| steps: | ||||||||||||||
| - uses: actions/checkout@v2 | ||||||||||||||
| - uses: actions/checkout@v2 # Checkout the Stackable Premium repo. | ||||||||||||||
| - 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: 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 | ||||||||||||||
| - name: Setup Python | ||||||||||||||
| uses: actions/setup-python@v4 | ||||||||||||||
| with: | ||||||||||||||
| python-version: '3.9' | ||||||||||||||
| - name: Setup Node | ||||||||||||||
| uses: actions/setup-node@v3 | ||||||||||||||
| with: | ||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upgrade setup-node to v4 (v3 now blocked on GH runners). actionlint flags v3 as too old. Move to v4 to unbreak the job. - - name: Setup Node
- uses: actions/setup-node@v3
+ - name: Setup Node
+ uses: actions/setup-node@v4📝 Committable suggestion
Suggested change
🧰 Tools🪛 actionlint (1.7.7)20-20: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) 🤖 Prompt for AI Agents |
||||||||||||||
| node-version: 14.x | ||||||||||||||
| node-version: 18.x | ||||||||||||||
| cache: 'npm' | ||||||||||||||
| - name: Install Build Tools | ||||||||||||||
| run: | | ||||||||||||||
| sudo apt-get update | ||||||||||||||
| sudo apt-get install -y build-essential | ||||||||||||||
| - name: Install Dependencies | ||||||||||||||
| run: | | ||||||||||||||
| npm ci --legacy-peer-deps | ||||||||||||||
| cd pro__premium_only | ||||||||||||||
| npm ci --legacy-peer-deps | ||||||||||||||
| - uses: preactjs/compressed-size-action@v2 | ||||||||||||||
| with: | ||||||||||||||
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||||||||||||||
|
|
||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrade setup-python to v5 (v4 now blocked on GH runners).
actionlint indicates v4 can’t run; bump the action version.
📝 Committable suggestion
🧰 Tools
🪛 actionlint (1.7.7)
20-20: the runner of "actions/setup-python@v4" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🤖 Prompt for AI Agents