chore: e2e test & CI integration #7
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: E2E Tests | |
on: | |
push: | |
branches: | |
- V3.0 | |
pull_request: | |
branches: | |
- V3.0 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
run: corepack enable pnpm | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run E2E Tests for H5 | |
env: | |
CI: true | |
run: npm run e2e:run:h5 | |
# - name: Run E2E Tests for Taro | |
# env: | |
# CI: true | |
# run: npm run e2e:run:taro |