feat(spec): add button to go to the continuation documentation #295
Workflow file for this run
This file contains hidden or 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 | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setup Node.js 22.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: "yarn" | |
- name: Install dependencies | |
env: | |
YARN_ENABLE_HARDENED_MODE: false | |
run: yarn install --immutable | |
- name: Get Playwright version | |
id: playwright-version | |
run: echo "version=$(yarn info playwright --json | jq -r ".children.Version")" >> $GITHUB_OUTPUT | |
- name: Cache Playwright browsers | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/ms-playwright | |
key: playwright-${{ runner.os }}-${{ runner.arch }}-${{ steps.playwright-version.outputs.version }} | |
- name: Install Playwright browsers | |
run: yarn playwright install --with-deps | |
- name: Run Playwright tests | |
run: yarn run test:e2e | |
- name: Upload Playwright tests results | |
uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |