Skip to content

Commit

Permalink
chore(ci): install & build before agent retries (#250)
Browse files Browse the repository at this point in the history
* chore(ci): install & build before agent retries

* chore(ci): run agent ci on workflow update
  • Loading branch information
PierreDemailly authored Apr 28, 2024
1 parent 8d34de6 commit 0c883f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
paths:
- "package-lock.json"
- "src/agent/**"
- ".github/workflows/agent.yml"
- "!src/agent/**/*.md"

permissions:
Expand All @@ -33,7 +34,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- uses: Wandalen/wretry.action@0dd1d5d77d019a6f85beb53d29e2ea2c7294d4f2 # v3.4.0
with:
command: npm run test --workspace=src/agent
command: npm ci && npm run build && npm run test --workspace=src/agent
attempt_limit: 3
- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 0c883f4

Please sign in to comment.