Skip to content

Commit 7ceb65f

Browse files
committed
fix(e2e): update artifact restoration process and ensure directories are created
1 parent 0b96e08 commit 7ceb65f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/e2e-naga.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,17 @@ jobs:
7575
uses: actions/download-artifact@v4
7676
with:
7777
name: build-output
78-
path: .
78+
path: build-output
79+
- name: Restore build artifacts
80+
run: |
81+
mkdir -p dist
82+
mkdir -p packages/wasm/pkg
83+
if [ -d build-output/dist ]; then
84+
cp -a build-output/dist/. dist/
85+
fi
86+
if [ -d build-output/packages/wasm/pkg ]; then
87+
cp -a build-output/packages/wasm/pkg/. packages/wasm/pkg/
88+
fi
7989
- name: Run health check (${{ matrix.network }})
8090
run: NETWORK=${{ matrix.network }} pnpm run test:e2e:ci -- packages/e2e/src/e2e.spec.ts
8191
timeout-minutes: 10

0 commit comments

Comments
 (0)