fix: Resolve type and build errors #121
Workflow file for this run
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: End to end tests | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
env: | |
CI: 1 | |
jobs: | |
build: | |
name: 'End to end tests' | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Clean Yarn cache | |
run: yarn cache clean | |
- name: Cache Node Modules | |
uses: actions/cache@v3 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies | |
run: yarn install | |
- name: Log Node.js version | |
run: node -v | |
- name: Log Yarn version | |
run: yarn -v | |
- name: Log installed packages and versions | |
run: yarn list --depth=0 | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Verify Playwright Browsers Installation | |
run: npx playwright install | |
- name: Run Playwright tests | |
run: yarn e2e | |
working-directory: apps/examples |