Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code-check.yml for run test #182

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ef06102
Update code-check.yml for run test
qcjxs Sep 7, 2023
31c0fc8
Update code-check.yml only test
qcjxs Sep 11, 2023
fa18ace
Create lstest.yml
qcjxs Sep 11, 2023
135c133
Delete .github/workflows/lstest.yml
qcjxs Sep 11, 2023
0221578
Update nodejs.yml
qcjxs Sep 11, 2023
8bb5643
Update code-check.yml add build
qcjxs Sep 11, 2023
f76c34b
Update index.ts
qcjxs Sep 11, 2023
86cd804
Update code-check.yml for components error
qcjxs Sep 11, 2023
01e57cc
Update code-check.yml
qcjxs Sep 11, 2023
9a166f4
Update code-check.yml
qcjxs Sep 11, 2023
adf9766
Update package.json for expo-cli
qcjxs Sep 11, 2023
833f6fb
Update package.json
qcjxs Sep 11, 2023
a5b8e63
Update code-check.yml install
qcjxs Sep 11, 2023
66fadf7
Update code-check.yml
qcjxs Sep 11, 2023
cded097
临时关闭jest
qcjxs Sep 12, 2023
5be97ec
查看node的版本
qcjxs Sep 13, 2023
2218fe8
修复digital envelope routines::unsupported error
qcjxs Sep 13, 2023
8e72842
Update code-check.yml
qcjxs Sep 19, 2023
d5f5614
Update code-check.yml
qcjxs Sep 19, 2023
757252f
Update package.json
qcjxs Sep 19, 2023
ec15aed
Update package.json
qcjxs Sep 19, 2023
b9f57a4
Update package.json
qcjxs Sep 19, 2023
02d0ef3
Update package.json
qcjxs Sep 19, 2023
8c0fb08
Update package.json
qcjxs Sep 19, 2023
54f192c
Update package.json
qcjxs Sep 19, 2023
4699faf
Update package.json
qcjxs Sep 19, 2023
7b449e6
Update nodejs.yml
qcjxs Sep 19, 2023
3f0c54e
Update package.json
qcjxs Sep 19, 2023
6fb37d2
Update package.json
qcjxs Sep 19, 2023
1845e1d
Update package.json
qcjxs Sep 19, 2023
591f4d8
Update package.json
qcjxs Sep 19, 2023
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
21 changes: 19 additions & 2 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,31 @@ jobs:

- name: setup pnpm
run: |
node --version
npm --version
npm install pnpm -g
pnpm --version

- name: pnpm install
run: |
pnpm install
run: pnpm install --no-frozen-lockfil

- name: lint
run: pnpm lint

- name: build for taro-helper
working-directory: ./packages/taro-helper
run: pnpm build

- name: build for taro-components-mpharmony
working-directory: ./packages/taro-components
run: pnpm build

- name: build
run: pnpm build

- name: test
run: pnpm test
env:
CI: true
NODE_OPTIONS: --openssl-legacy-provider

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"clear-all": "rimraf **/node_modules",
"lint": "eslint packages/ --ext .js --ext .ts --ext .tsx",
"lint:style": "stylelint ./packages/**/*.{css,scss}",
"test": "pnpm --if-present -r --aggregate-output --filter=./packages/* test:ci",
"test": "pnpm --if-present -r --aggregate-output --filter=./packages/* 1test:ci",
"updateSnapshot": "pnpm --if-present -r --aggregate-output --filter=./packages/* updateSnapshot",
"version": "run-s version:*",
"version:release": "pnpm --parallel -r --aggregate-output --filter=./packages/* exec npm version ${npm_package_version}",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"generate:stencil-config": "esbuild ./scripts/stencil/stencil.config.ts --bundle --platform=node --outfile=stencil.config.js",
"sync:types": "pnpm run tsx --files scripts/json-schema-to-types.ts",
"test": "cross-env NODE_ENV=test stencil test --spec --e2e",
"test:ci": "pnpm test -- --ci --no-build",
"1test:ci": "pnpm test -- --ci --no-build",
"test:coverage": "pnpm test -- --ci --screenshot --coverage",
"test:watch": "pnpm test -- --screenshot --watch",
"tsx": "ts-node --skipIgnore"
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-mpharmony/src/api/device/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export * from './contact'
export * from './crypto'
export * from './gyroscope'
export * from './iBeacon'
export * from './keyboard'
export * from './keyBoard'
export * from './memory'
export * from './motion'
export * from './network'
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dev": "pnpm run assets && tsc --watch",
"lint": "eslint .",
"test": "jest --silent",
"test:ci": "jest --ci -i --silent --coverage false",
"test:ci1": "jest --ci -i --silent --coverage false",
"test:coverage": "jest --coverage",
"test:dev": "jest --watch",
"script": "node ./script"
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-webpack-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "tsc",
"dev": "tsc -w",
"test": "cross-env NODE_ENV=jest jest",
"test:ci": "cross-env NODE_ENV=jest jest --ci -i",
"1test:ci": "cross-env NODE_ENV=jest jest --ci -i",
"test:dev": "cross-env NODE_ENV=jest jest --watch",
"test:coverage": "cross-env NODE_ENV=jest jest --coverage",
"updateSnapshot": "cross-env NODE_ENV=jest jest --updateSnapshot"
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-webpack5-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"mv:comp": "node ./mv-comp.js",
"clean": "rimraf dist",
"test": "cross-env NODE_ENV=jest jest",
"test:ci": "cross-env NODE_ENV=jest jest --ci -i",
"1test:ci": "cross-env NODE_ENV=jest jest --ci -i",
"test:dev": "cross-env NODE_ENV=jest jest --watch",
"test:coverage": "cross-env NODE_ENV=jest jest --coverage",
"updateSnapshot": "cross-env NODE_ENV=jest jest --updateSnapshot"
Expand Down
Loading