Skip to content

Commit cfb6c4d

Browse files
committed
Move start app just before playwright tests
1 parent 2cacdbf commit cfb6c4d

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/stage-2-test.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -96,24 +96,6 @@ jobs:
9696
with:
9797
install: true
9898
cache: true
99-
100-
# - name: Cache npm
101-
# uses: actions/cache@v5
102-
# with:
103-
# path: ~/.cache/pre-commit
104-
# key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
105-
# restore-keys: |
106-
# pre-commit-${{ runner.os }}-
107-
108-
- name: "Install project dependencies"
109-
run: |
110-
npm install
111-
- name: "Start the application"
112-
run: |
113-
npm run start
114-
- name: "Install dependencies"
115-
working-directory: tests
116-
run: npm ci
11799
- name: "Install Playwright browsers"
118100
working-directory: tests
119101
run: npx playwright install --with-deps
@@ -130,6 +112,9 @@ jobs:
130112
export const userPasswordGeneric = '${{ secrets.PLAYWRIGHT_PASSWORD }}';
131113
export const OTP = '${{ secrets.PLAYWRIGHT_OTP }}';
132114
EOF
115+
- name: "Start the application"
116+
run: |
117+
npm run start
133118
- name: "Run Playwright tests"
134119
# working-directory: tests
135120
run: npm run test:playwright

0 commit comments

Comments
 (0)