Skip to content

Commit

Permalink
fix: add validation step for environment variables in Playwright work…
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
sirajvind committed Dec 2, 2024
1 parent cde8e3d commit caab55f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Set environment variables from JSON
run: |
echo "${{ secrets.SECRETS_JSON }}" > secrets.json
cat secrets.json | jq empty
cat secrets.json | jq -r 'to_entries | .[] | "echo \(.key)=\(.value) >> $GITHUB_ENV"' | sh
- name: Run Playwright tests
run: npx playwright test
Expand Down

0 comments on commit caab55f

Please sign in to comment.