]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
ci: should work
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 17 Aug 2021 15:09:10 +0000 (17:09 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 17 Aug 2021 15:09:10 +0000 (17:09 +0200)
.github/workflows/test.yml
package.json
packages/pinia/package.json

index f529f076903a5de0b40d3d34910819459bf0149f..65adbfb56032bd33fb035a57859804952c66822b 100644 (file)
@@ -23,5 +23,6 @@ jobs:
       - run: yarn run test:types
       - run: yarn run test:jest
       - run: yarn run build
+      - run: yarn lerna run build:dts
       - run: yarn run test:dts
       - run: yarn codecov
index 0e75ca559a09f7af498eec8d10d9eb8d5718d2fc..cb420a6984e73c42ea5cc402538f5b7621b4d3ee 100644 (file)
@@ -8,11 +8,12 @@
     "release": "node TODO: scripts/release.mjs",
     "size": "lerna run size",
     "build": "lerna run build --parallel",
+    "build:dts": "lerna run build:dts --parallel",
     "lint": "prettier -c --parser typescript \"packages/*/{src,__tests__,e2e}/**/*.[jt]s?(x)\"",
     "lint:fix": "yarn run lint --write",
-    "test": "lerna run test && yarn run test:jest",
+    "test": "yarn run test:types && yarn run test:jest && lerna run test",
     "test:jest": "jest --coverage",
-    "test:types": "lerna run test:types",
+    "test:types": "tsc --build ./tsconfig.json",
     "test:dts": "lerna run test:dts",
     "docs:api": "typedoc TODO:"
   },
index 11c402a9bcd57597f85611f23d5b3489f00359a0..3e473f763955db1dad467a7ad142f95fdcb06967 100644 (file)
     "release": "bash scripts/release.sh",
     "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l pinia -r 1",
     "test:dts": "tsc -p ./test-dts/tsconfig.json",
-    "test:types": "tsc --build ../../tsconfig.json",
     "dev": "yarn run test:unit --watchAll",
     "play": "yarn vite",
-    "test": "yarn run test:types && yarn run build && yarn run build:dts && yarn test:dts"
+    "test": "yarn run build && yarn run build:dts && yarn test:dts"
   },
   "files": [
     "dist/*.js",