Skip to content

Commit

Permalink
Add a yarn release command
Browse files Browse the repository at this point in the history
  • Loading branch information
markjaquith committed Jan 16, 2023
1 parent d599e55 commit 201aa99
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/forty-students-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"sveltekit-playwright-fetch-mock": patch
---

Add a yarn release command
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: yarn build && yarn changesets publish
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"scripts": {
"build": "tsup index.ts --format cjs,esm --dts",
"release": "tsup index.ts --format cjs,esm --dts && changeset publish",
"lint": "tsc"
},
"devDependencies": {
Expand Down

0 comments on commit 201aa99

Please sign in to comment.