refactor: run turbo pipe before publish
This commit is contained in:
@@ -44,15 +44,6 @@ jobs:
|
|||||||
- name: Install dependencies 👨🏻💻
|
- name: Install dependencies 👨🏻💻
|
||||||
run: pnpm install --no-frozen-lockfile
|
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 🚀
|
- name: Bump versions 🏷 and Publish 🚀
|
||||||
uses: changesets/action@v1
|
uses: changesets/action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
+1
-2
@@ -6,13 +6,12 @@
|
|||||||
"dev": "pnpm --dir examples/vite dev",
|
"dev": "pnpm --dir examples/vite dev",
|
||||||
"docs": "pnpm --dir docs dev",
|
"docs": "pnpm --dir docs dev",
|
||||||
"changelog": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"",
|
"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",
|
"build": "turbo run build",
|
||||||
"test": "turbo run test",
|
"test": "turbo run test",
|
||||||
"lint": "turbo run lint",
|
"lint": "turbo run lint",
|
||||||
"typedocs": "turbo run build && pnpm --dir docs typedocs",
|
"typedocs": "turbo run build && pnpm --dir docs typedocs",
|
||||||
"ci:version": "changeset version",
|
"ci:version": "changeset version",
|
||||||
"ci:publish": "changeset publish"
|
"ci:publish": "turbo lint && turbo build && turbo test && changeset publish"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^0.27.0",
|
"@antfu/eslint-config": "^0.27.0",
|
||||||
|
|||||||
@@ -23,11 +23,9 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||||
"postbuild": "shx rm -rf tmp",
|
"postbuild": "shx rm -rf tmp",
|
||||||
"prepublishOnly": "pnpm build",
|
|
||||||
"test": "exit 0;",
|
"test": "exit 0;",
|
||||||
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
||||||
"lint": "pnpm lint:js",
|
"lint": "pnpm lint:js"
|
||||||
"release": "pnpm publish"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pathfinding": "^0.4.18",
|
"pathfinding": "^0.4.18",
|
||||||
|
|||||||
@@ -23,11 +23,9 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||||
"postbuild": "shx rm -rf tmp",
|
"postbuild": "shx rm -rf tmp",
|
||||||
"prepublishOnly": "pnpm build",
|
|
||||||
"test": "exit 0;",
|
"test": "exit 0;",
|
||||||
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
||||||
"lint": "pnpm lint:js",
|
"lint": "pnpm lint:js"
|
||||||
"release": "pnpm publish"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^8.9.4",
|
"@vueuse/core": "^8.9.4",
|
||||||
|
|||||||
@@ -24,12 +24,6 @@
|
|||||||
"dev": {
|
"dev": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"cache": false
|
"cache": false
|
||||||
},
|
|
||||||
|
|
||||||
"release": {
|
|
||||||
"dependsOn": ["^build"],
|
|
||||||
"cache": false,
|
|
||||||
"outputs": []
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user