Skip to content

Commit

Permalink
Retry.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Sep 17, 2024
1 parent a18e340 commit 8121342
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
env:
NEXT_PUBLIC_DCAPI_ENDPOINT: ${{ secrets.NEXT_PUBLIC_DCAPI_ENDPOINT }}

- name: Set env as secret
run: 'echo "BASE_URL=${{ secrets.BASE_URL }} \nNEXT_PUBLIC_DCAPI_ENDPOINT=${{ secrets.NEXT_PUBLIC_DCAPI_ENDPOINT }}" >> .env.local'
shell: bash
env:
BASE_URL: ${{ secrets.BASE_URL }}
NEXT_PUBLIC_DCAPI_ENDPOINT: ${{ secrets.NEXT_PUBLIC_DCAPI_ENDPOINT }}

- name: Start app
run: npm run start:playwright &

Expand Down
2 changes: 2 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const PORT = process.env.PORT || 3000;
const BASE_URL =
process.env.BASE_URL || `https://devbox.library.northwestern.edu:${PORT}`;

console.log({ BASE_URL });

export default defineConfig({
testDir: "./tests",
fullyParallel: false,
Expand Down

0 comments on commit 8121342

Please sign in to comment.