Skip to content

Commit

Permalink
chore: Update .github/workflows/ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 18, 2021
1 parent 49d13b5 commit 1875b5b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: example @template/basic
working-directory: example/basic
run: npm run build && npm run test:coverage
run: npm run build && npm run coverage

- name: example @template/basic-entry
working-directory: example/basic-entry
Expand All @@ -74,7 +74,7 @@ jobs:

- name: example @template/chrome-plugin
working-directory: example/chrome-plugin
run: npm run build && npm run test:coverage
run: npm run build && npm run coverage

- name: example @template/electron
run: npm run build && npm run build:main
Expand All @@ -91,9 +91,9 @@ jobs:
- name: example @template/react-component-tsx
working-directory: example/react-component-tsx
run: |
npm run build:lib
npm run build
npm run doc
npm run test:coverage
npm run coverage
# The following changes are being made to your tsconfig.json file:
# - compilerOptions.noEmit must be true
git checkout -f ./tsconfig.json
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

- name: example @template/typescript
working-directory: example/typescript
run: npm run build && npm run test:coverage
run: npm run build && npm run coverage

- name: example @template/uiw
working-directory: example/uiw
Expand Down
4 changes: 2 additions & 2 deletions example/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "kkt start",
"build": "kkt build",
"test": "kkt test --env=jsdom",
"test:coverage": "kkt test --env=jsdom --coverage"
"coverage": "kkt test --env=jsdom --coverage"
},
"repository": {
"type": "git",
Expand All @@ -19,7 +19,7 @@
"dependencies": {
"react": "17.0.2",
"react-dom": "17.0.2",
"web-vitals": "1.1.0"
"web-vitals": "^2.1.2"
},
"devDependencies": {
"kkt": "6.11.0"
Expand Down
2 changes: 1 addition & 1 deletion example/chrome-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "FAST_REFRESH=false BUILD_PATH=dist kkt start --watch --no-open-browser",
"build": "BUILD_PATH=dist kkt build",
"test": "kkt test --env=jsdom",
"test:coverage": "kkt test --env=jsdom --coverage"
"coverage": "kkt test --env=jsdom --coverage"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion example/react-component-tsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ts:build": "tsbb build --target react",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "kkt test --env=jsdom --app-src=./website",
"coverage:kkt": "kkt test --env=jsdom --coverage --app-src=./website",
"coverage": "kkt test --env=jsdom --coverage --app-src=./website",
"or:test:tsbb": "tsbb test --env=jsdom",
"or:coverage:tsbb": "tsbb test --env=jsdom --coverage"
},
Expand Down
2 changes: 1 addition & 1 deletion example/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "kkt start",
"build": "kkt build",
"test": "kkt test --env=jsdom",
"test:coverage": "kkt test --env=jsdom --coverage"
"coverage": "kkt test --env=jsdom --coverage"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion example/uiw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "kkt start",
"build": "kkt build",
"test": "kkt test --env=jsdom",
"test:coverage": "kkt test --env=jsdom --coverage"
"coverage": "kkt test --env=jsdom --coverage"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1875b5b

Please sign in to comment.