From 32aa9e851b09fd6a6ab9cf9f501dd3e0a1441e7c Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 9 Oct 2022 00:27:53 +0200 Subject: [PATCH] refactor: run turbo pipe before publish --- .github/workflows/publish.yml | 9 --------- package.json | 3 +-- packages/pathfinding-edge/package.json | 4 +--- packages/resize-rotate-node/package.json | 4 +--- turbo.json | 6 ------ 5 files changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 44db5380..349aa12a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,15 +44,6 @@ jobs: - name: Install dependencies ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป run: pnpm install --no-frozen-lockfile - - name: Run linter ๐Ÿงน - run: pnpm lint - - - name: Build Library ๐Ÿ‘ท - run: pnpm build - - - name: Run tests ๐Ÿงช - run: pnpm test - - name: Bump versions ๐Ÿท and Publish ๐Ÿš€ uses: changesets/action@v1 with: diff --git a/package.json b/package.json index d03bf538..fdffe17d 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,12 @@ "dev": "pnpm --dir examples/vite dev", "docs": "pnpm --dir docs dev", "changelog": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"", - "release": "turbo run release", "build": "turbo run build", "test": "turbo run test", "lint": "turbo run lint", "typedocs": "turbo run build && pnpm --dir docs typedocs", "ci:version": "changeset version", - "ci:publish": "changeset publish" + "ci:publish": "turbo lint && turbo build && turbo test && changeset publish" }, "devDependencies": { "@antfu/eslint-config": "^0.27.0", diff --git a/packages/pathfinding-edge/package.json b/packages/pathfinding-edge/package.json index 995e886a..3f0a7017 100644 --- a/packages/pathfinding-edge/package.json +++ b/packages/pathfinding-edge/package.json @@ -23,11 +23,9 @@ "build": "vite build", "types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp", "postbuild": "shx rm -rf tmp", - "prepublishOnly": "pnpm build", "test": "exit 0;", "lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", - "lint": "pnpm lint:js", - "release": "pnpm publish" + "lint": "pnpm lint:js" }, "dependencies": { "pathfinding": "^0.4.18", diff --git a/packages/resize-rotate-node/package.json b/packages/resize-rotate-node/package.json index 9315bea3..f7b36548 100644 --- a/packages/resize-rotate-node/package.json +++ b/packages/resize-rotate-node/package.json @@ -23,11 +23,9 @@ "build": "vite build", "types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp", "postbuild": "shx rm -rf tmp", - "prepublishOnly": "pnpm build", "test": "exit 0;", "lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", - "lint": "pnpm lint:js", - "release": "pnpm publish" + "lint": "pnpm lint:js" }, "dependencies": { "@vueuse/core": "^8.9.4", diff --git a/turbo.json b/turbo.json index 510e7bc4..2eadc965 100644 --- a/turbo.json +++ b/turbo.json @@ -24,12 +24,6 @@ "dev": { "dependsOn": ["^build"], "cache": false - }, - - "release": { - "dependsOn": ["^build"], - "cache": false, - "outputs": [] } } }