diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index a66dbd70..df5d38e8 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -50,6 +50,10 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Install dependencies run: pnpm install + - name: Build Packages + run: pnpm build:packages + - name: Build Docs + run: pnpm docs:build - uses: actions/upload-pages-artifact@v2 with: path: ./docs/build diff --git a/package.json b/package.json index 9f8aeb25..cf2e3a61 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "docs:build": "pnpm --filter docs build", "build": "pnpm run -r build", "build:packages": "pnpm run --filter './packages/**' -r build", - "format": "prettier --write ." + "format": "prettier --write .", + "release": "pnpm build:packages && pnpm changeset publish" }, "keywords": [], "type": "module",