diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 5af3600..e706c7e 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -19,8 +19,7 @@ jobs: run: npx playwright install --with-deps - name: Set environment variables from JSON run: | - echo "${{ toJson(secrets.SECRETS_JSON) }}" > secrets.json - cat secrets.json | jq empty + echo "${{ secrets.SECRETS_JSON }}" > secrets.json cat secrets.json | jq -r 'to_entries | .[] | "echo \(.key)=\(.value) >> $GITHUB_ENV"' | sh - name: Run Playwright tests run: npx playwright test