Skip to content

Commit

Permalink
fix: use npm run release for clean-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Apr 26, 2021
1 parent 8e2b9ec commit d210a9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: changesets/action@master
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
coverage
lib
node_modules
tmp*
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "synckit",
"version": "0.1.4",
"version": "0.1.5",
"description": "Perform async work synchronously in Node.js using a separate process with first-class TypeScript support",
"repository": "git+https://github.com/rx-ts/synckit.git",
"author": "JounQin <admin@1stg.me>",
Expand Down Expand Up @@ -34,7 +34,7 @@
"lint:es": "eslint . --cache -f friendly --max-warnings 10",
"lint:tsc": "tsc --noEmit",
"prepare": "simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
"prerelease": "yarn build",
"prerelease": "npm run build",
"release": "clean-publish && changeset publish",
"test": "jest",
"typecov": "type-coverage"
Expand All @@ -59,9 +59,6 @@
"typescript": "^4.2.4",
"yarn-deduplicate": "^3.1.0"
},
"clean-publish": {
"packageManager": "npm"
},
"commitlint": {
"extends": "@1stg"
},
Expand Down

0 comments on commit d210a9c

Please sign in to comment.