Skip to content

test: playwright 测试问题 #5

test: playwright 测试问题

test: playwright 测试问题 #5

Workflow file for this run

name: CI
on:
push:
branches:
- main
- feat/*
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup NodeJS
uses: asnowc/actions@setup-node/v2
with:
node_v: 20
pnpm_v: 9
run_install: true
- name: Unit test
run: pnpm run ci:test
- name: Build
run: pnpm run -r ci:build
- name: Install browser
run: pnpm run playwright install chromium webkit firefox --with-deps
working-directory: "./e2e"
- name: E2E test
run: pnpm run ci:e2e
working-directory: ./e2e