Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
CI: true
run: pnpm cypress install --force && pnpm e2e:run:h5

# Taro的自动化测试,demo包管理解决后解除注释
# - name: Run E2E Tests for Taro
# env:
# CI: true
# pnpm cypress install --force && run: pnpm e2e:run:taro
- name: Run E2E Tests for Taro
env:
CI: true
run: pnpm cypress install --force && pnpm e2e:run:taro
1 change: 0 additions & 1 deletion cypress/e2e/taro/index.cy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { describe } from 'yargs'
import { checkTaroBlank } from '../common/pageWhiteTest.cy'

describe('All Taro Demos White Page Test', () => {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"dev:taro:jdrn": "pnpm run clone:rn && pnpm --dir ./packages/nutui-taro-demo dev:jdrn",
"dev:taro:rn:dark": "THEME=dark pnpm dev:taro:rn",
"dev:taro": "pnpm run update:taro:entry && pnpm --dir ./packages/nutui-taro-demo dev",
"dev:taro:h5": "pnpm dev:taro h5",
"dev:jdtaro": "pnpm run update:taro:entry && JD=1 pnpm --dir ./packages/nutui-taro-demo dev",
"dev:jdtaro:jdharmonycpp": "pnpm run clone:jdharmony cpp &&pnpm run update:taro:entry && JD=1 pnpm --dir ./packages/nutui-taro-demo dev:jdharmonycpp",
"dev:jdtaro:jdharmony": "pnpm run clone:jdharmony && pnpm run update:taro:entry && JD=1 pnpm --dir ./packages/nutui-taro-demo dev:jdharmony",
Expand Down
1 change: 1 addition & 0 deletions scripts/rn/update-taro-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const param = process.env.C

// C=radio pnpm dev:taro:jdharmonycpp or C=radio,button,cell pnpm dev:taro:jdharmonycpp
function specialComponent(name) {
if(!param) return true
const entries = param.split(',').map((i) => i.toLowerCase())
return entries.includes(name.toLowerCase())
}
Expand Down