Skip to content

Commit 14856c7

Browse files
committed
Updated e2e tests. Delete directories only if they exist for e2e tests.
1 parent ea8379e commit 14856c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e-next-faustwp-example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
# writing this they do not function as expected on GH actions
5555
- name: replace downloaded registry faust packages with local build
5656
run: |
57-
rm -rf e2e-app/node_modules/@faustwp/cli
58-
rm -rf e2e-app/node_modules/@faustwp/core
57+
if [ -d "e2e-app/node_modules/@faustwp/cli" ]; then rm -rf e2e-app/node_modules/@faustwp/cli; fi
58+
if [ -d "e2e-app/node_modules/@faustwp/core" ]; then rm -rf e2e-app/node_modules/@faustwp/core; fi
5959
cp -r packages/faustwp-cli e2e-app/node_modules/@faustwp/cli
6060
cp -r packages/faustwp-core e2e-app/node_modules/@faustwp/core
6161
chmod +x e2e-app/node_modules/.bin/faust

0 commit comments

Comments
 (0)