Skip to content

Commit 2cff7f8

Browse files
committed
ci(actions): fix path to workspace inside container
1 parent c644f8b commit 2cff7f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
working-directory: /app
2323
run: |
2424
mkdir cypress
25-
cp -r /cypress/* ./cypress
26-
cp /cypress.config.ts .
27-
cp -r /src/app/home/* ./src/app/home
28-
npm i dist/ionic-header-parallax-$(cd dist/ionic-header-parallax && npm pkg get version).tgz
25+
cp -r $GITHUB_WORKSPACE/cypress/* ./cypress
26+
cp $GITHUB_WORKSPACE/cypress.config.ts .
27+
cp -r $GITHUB_WORKSPACE/src/app/home/* ./src/app/home
28+
npm i $GITHUB_WORKSPACE/dist/ionic-header-parallax-$(cd $GITHUB_WORKSPACE/dist/ionic-header-parallax && npm pkg get version).tgz
2929
ng serve --host 0.0.0.0 --port 4200 &
3030
(wait-on http://0.0.0.0:4200 --timeout 30000 --interval 1000 && cypress run --headless) \
3131
|| { echo 'Angular server failed to start'; exit 1; }

0 commit comments

Comments
 (0)