chore(deps): update dependency rehype to v13 #1510
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Playwright Tests | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
jobs: | |
test: | |
permissions: | |
contents: read | |
id-token: write | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: dtinth/setup-github-actions-caching-for-turbo@v1 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm run build | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps | |
working-directory: contentsgarten.netlify.app | |
- name: Run Playwright tests | |
run: pnpm exec playwright test | |
working-directory: contentsgarten.netlify.app | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: contentsgarten.netlify.app/playwright-report/ | |
retention-days: 30 | |
- uses: dtinth/action-upload-to-firebase-storage@main | |
if: always() | |
continue-on-error: true | |
id: publish | |
with: | |
workload-identity-provider: 'projects/35904191124/locations/global/workloadIdentityPools/github-actions/providers/github-actions' | |
service-account: 'github@dtinth-url.iam.gserviceaccount.com' | |
storage-prefix: 'gs://dtinth-url.appspot.com' | |
path: contentsgarten.netlify.app/playwright-report/ | |
- run: | | |
if [ -n "$REPORT_URL" ]; then echo "# [View Playwright report]($REPORT_URL)" > $GITHUB_STEP_SUMMARY; fi | |
env: | |
REPORT_URL: ${{ steps.publish.outputs.http-url }}/index.html | |
if: always() | |
continue-on-error: true |