Skip to content

Commit d210a9c

Browse files
committed
fix: use npm run release for clean-publish
1 parent 8e2b9ec commit d210a9c

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: changesets/action@master
4242
with:
4343
# This expects you to have a script called release which does a build for your packages and calls changeset publish
44-
publish: yarn release
44+
publish: npm run release
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
coverage
22
lib
33
node_modules
4+
tmp*

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "synckit",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Perform async work synchronously in Node.js using a separate process with first-class TypeScript support",
55
"repository": "git+https://github.com/rx-ts/synckit.git",
66
"author": "JounQin <admin@1stg.me>",
@@ -34,7 +34,7 @@
3434
"lint:es": "eslint . --cache -f friendly --max-warnings 10",
3535
"lint:tsc": "tsc --noEmit",
3636
"prepare": "simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
37-
"prerelease": "yarn build",
37+
"prerelease": "npm run build",
3838
"release": "clean-publish && changeset publish",
3939
"test": "jest",
4040
"typecov": "type-coverage"
@@ -59,9 +59,6 @@
5959
"typescript": "^4.2.4",
6060
"yarn-deduplicate": "^3.1.0"
6161
},
62-
"clean-publish": {
63-
"packageManager": "npm"
64-
},
6562
"commitlint": {
6663
"extends": "@1stg"
6764
},

0 commit comments

Comments
 (0)