We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
\"
1 parent 2cff7f8 commit 639fba3Copy full SHA for 639fba3
1 file changed
.github/workflows/test.yml
@@ -21,11 +21,12 @@ jobs:
21
- name: Run tests
22
working-directory: /app
23
run: |
24
+ PKG_VERSION=$(cd $GITHUB_WORKSPACE/dist/ionic-header-parallax && npm pkg get version | tr -d '"')
25
mkdir cypress
26
cp -r $GITHUB_WORKSPACE/cypress/* ./cypress
27
cp $GITHUB_WORKSPACE/cypress.config.ts .
28
cp -r $GITHUB_WORKSPACE/src/app/home/* ./src/app/home
- 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-$PKG_VERSION.tgz
30
ng serve --host 0.0.0.0 --port 4200 &
31
(wait-on http://0.0.0.0:4200 --timeout 30000 --interval 1000 && cypress run --headless) \
32
|| { echo 'Angular server failed to start'; exit 1; }
0 commit comments