Report correct error at startSession (#7) #16
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: Test | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
permissions: | |
checks: write | |
contents: write | |
jobs: | |
run-linters: | |
name: Run tests | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.46.1-jammy | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install PNPM | |
run: npm i pnpm -g | |
- name: Install dependencies | |
run: pnpm i | |
- name: Run tests | |
run: pnpm run test | |
env: | |
HOME: /root |