File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ jobs:
2121 - name : Run tests
2222 working-directory : /app
2323 run : |
24+ PKG_VERSION=$(cd $GITHUB_WORKSPACE/dist/ionic-header-parallax && npm pkg get version | tr -d '"')
2425 mkdir cypress
2526 cp -r $GITHUB_WORKSPACE/cypress/* ./cypress
2627 cp $GITHUB_WORKSPACE/cypress.config.ts .
2728 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
29+ npm i $GITHUB_WORKSPACE/dist/ionic-header-parallax-$PCK_VERSION .tgz
2930 ng serve --host 0.0.0.0 --port 4200 &
3031 (wait-on http://0.0.0.0:4200 --timeout 30000 --interval 1000 && cypress run --headless) \
3132 || { echo 'Angular server failed to start'; exit 1; }
You can’t perform that action at this time.
0 commit comments