提交 5d8d7d89 编写于 作者: fxy060608's avatar fxy060608

chore: e2e.yml

上级 c44a88c5
...@@ -38,13 +38,13 @@ jobs: ...@@ -38,13 +38,13 @@ jobs:
- name: Versions - name: Versions
run: yarn versions run: yarn versions
- name: Install dependencies and verify Cypress - name: Install dependencies
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
- name: Build - name: Build
run: npm run build uni-app uni-cli-shared uni-h5 uni-i18n uni-shared vite-plugin-uni run: npm run build uni-app uni-cli-shared uni-h5 uni-i18n uni-shared vite-plugin-uni
- name: Install ssr - name: Install ssr and verify Cypress
working-directory: ./packages/playground/ssr working-directory: ./packages/playground/ssr
run: | run: |
yarn install --frozen-lockfile yarn install --frozen-lockfile
...@@ -59,9 +59,9 @@ jobs: ...@@ -59,9 +59,9 @@ jobs:
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
install: true install: false
start: npm run e2e:ssr:dev start: npm run dev:ssr
project: ./packages/playground/ssr working-directory: ./packages/playground/ssr
wait-on: 'http://localhost:3000' wait-on: 'http://localhost:3000'
wait-on-timeout: 120 wait-on-timeout: 120
browser: chrome browser: chrome
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册