Skip to content

Commit 28fffd8

Browse files
lmiller1990AtofStryker
authored andcommitted
test: make scripts minimal
1 parent 002f686 commit 28fffd8

File tree

2 files changed

+3
-34
lines changed

2 files changed

+3
-34
lines changed

Diff for: .circleci/config.yml

+2-18
Original file line numberDiff line numberDiff line change
@@ -42,31 +42,15 @@ jobs:
4242
- run:
4343
name: yarn bootstrap
4444
command: yarn bootstrap
45-
build_test:
46-
<<: *defaults
47-
steps:
48-
- attach_workspace:
49-
at: ~/repo
50-
- *restore_node_modules
51-
- run:
52-
name: yarn build:test
53-
command: yarn build:test
5445
test:
5546
<<: *defaults
5647
steps:
5748
- attach_workspace:
5849
at: ~/repo
5950
- *restore_node_modules
6051
- run:
61-
name: yarn test
62-
command: yarn test
63-
test_compat:
64-
<<: *defaults
65-
steps:
66-
- attach_workspace:
67-
at: ~/repo
68-
- *restore_node_modules
69-
- run: yarn test:compat
52+
name: yarn test:unit
53+
command: yarn test:unit
7054
workflows:
7155
version: 2
7256
install-tests:

Diff for: package.json

+1-16
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,7 @@
66
],
77
"scripts": {
88
"bootstrap": "lerna bootstrap",
9-
"build": "lerna run build",
10-
"build:test": "lerna run build:test",
11-
"clean": "lerna clean --yes",
12-
"commit": "git-cz",
13-
"docs": "vuepress dev docs",
14-
"docs:build": "vuepress build docs",
15-
"flow": "flow check",
16-
"lint": "eslint --ext js,vue .",
17-
"lint:docs": "eslint --ext js,vue,md docs --ignore-path .gitignore",
18-
"lint:fix": "yarn lint -- --fix",
19-
"format": "prettier --write \"**/*.{js,json,vue,md}\"",
20-
"format:check": "prettier --check \"**/*.{js,json,vue,md}\"",
21-
"release": "yarn build && yarn test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\"",
22-
"test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit && yarn test:unit:karma && yarn test:unit:node",
23-
"test:compat": "scripts/test-compat.sh",
24-
"test:unit": "yarn build:test && yarn test:unit:only",
9+
"test:unit": "cross-env TARGET=dev yarn jest",
2510
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
2611
},
2712
"dependencies": {

0 commit comments

Comments
 (0)