Skip to content

Commit da714ea

Browse files
authored
replace secrets with .env file (#27)
1 parent a932b20 commit da714ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
run: cd movies-app && npm ci
2020
- name: Install Playwright Browsers
2121
run: npx playwright install --with-deps
22+
- name: Setup .env file with mock credentials
23+
run: cp .env.example .env
2224
- name: Run Playwright tests
2325
run: npm run test
24-
env:
25-
MOVIES_USERNAME: ${{ secrets.MOVIES_USERNAME }}
26-
MOVIES_PASSWORD: ${{ secrets.MOVIES_PASSWORD }}
2726
- uses: actions/upload-artifact@v4
2827
if: ${{ !cancelled() }}
2928
with:

0 commit comments

Comments
 (0)