Skip to content

Commit 0b4b0f2

Browse files
authored
fix(ci): pin Argos CLI version in test workflow (#18606)
1 parent f9173a4 commit 0b4b0f2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,16 @@ jobs:
140140
mv build/coverage/.coverage.* .
141141
uv run coverage combine
142142
uv run coverage xml
143+
- name: Install client dependencies for Argos CI
144+
if: matrix.python-version == '3.14' && matrix.requirements == 'latest' && github.repository_owner == 'WeblateOrg'
145+
working-directory: ./client
146+
run: yarn install --immutable
143147
- name: Argos CI upload
144148
if: matrix.python-version == '3.14' && matrix.requirements == 'latest' && github.repository_owner == 'WeblateOrg'
149+
working-directory: ./client
145150
env:
146151
ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} # zizmor: ignore[secrets-outside-env]
147-
run: |
148-
npx --package=@argos-ci/cli -- argos upload ./test-images/
152+
run: yarn argos upload ../test-images/
149153
- uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
150154
with:
151155
token: ${{secrets.CODECOV_TOKEN}} # zizmor: ignore[secrets-outside-env]

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"daterangepicker/jquery": "~3.7.1"
2828
},
2929
"devDependencies": {
30+
"@argos-ci/cli": "3.0.6",
3031
"css-loader": "7.1.4",
3132
"mini-css-extract-plugin": "2.10.1",
3233
"terser-webpack-plugin": "5.4.0",

0 commit comments

Comments
 (0)