Skip to content

Commit 143e87d

Browse files
committed
chore: update e2e workflow to include Node.js and Go setup steps
1 parent ea34f9e commit 143e87d

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/e2e.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4
23+
- name: Set up Node.js
24+
uses: actions/setup-node@v5
25+
with:
26+
node-version: "24"
27+
cache: npm
28+
cache-dependency-path: pkg/workflow/js/package-lock.json
29+
- name: Set up Go
30+
uses: actions/setup-go@v5
31+
with:
32+
go-version-file: go.mod
33+
cache: true
2334
- name: GitHub CLI - show auth status
2435
env:
2536
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ check_prerequisites() {
270270

271271
info "Building gh-aw in $clone_dir (this may take a moment)"
272272
# Build inside clone_dir and log output to the main log file
273-
if (cd "$clone_dir" && make build &>> "../$LOG_FILE"); then
273+
if (cd "$clone_dir" && make deps-dev && make build &>> "../$LOG_FILE"); then
274274
info "Build completed in $clone_dir"
275275
if [[ -f "$clone_dir/gh-aw" ]]; then
276276
ln -sf "$clone_dir/gh-aw" ./gh-aw

0 commit comments

Comments
 (0)