Przeglądaj źródła

fix: removed postinstall script (#1089)

* fix: removed postinstall script

* chore: add build lib to CI since its needed for docs typecheck
Alvaro Saburido 15 godzin temu
rodzic
commit
59f5024de0
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 2 0
      .github/workflows/ci.yml
  2. 1 2
      package.json

+ 2 - 0
.github/workflows/ci.yml

@@ -36,6 +36,8 @@ jobs:
         run: pnpm install
       - name: Typecheck
         run: pnpm run typecheck
+      - name: Build
+        run: pnpm run build
       - name: Lint
         run: pnpm run lint
       - name: Unit tests

+ 1 - 2
package.json

@@ -65,8 +65,7 @@
     "docs:generate": "pnpm --filter='./docs' generate",
     "docs:prepare": "pnpm --filter='./docs' prepare",
     "docs:lint": "pnpm --filter='./docs' lint",
-    "docs:typecheck": "pnpm --filter='./docs' typecheck",
-    "postinstall": "pnpm run build && pnpm --filter='./docs' prepare"
+    "docs:typecheck": "pnpm --filter='./docs' typecheck"
   },
   "peerDependencies": {
     "three": ">=0.133",