Skip to content

Commit

Permalink
Add package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva committed Feb 10, 2023
1 parent 91f3db4 commit 116d419
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
with:
commit: "Release packages"
title: "Release packages"
publish: changeset publish
publish: pnpm package:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"test": "node ./test/testFile.cjs",
"lint": "prettier -c ./src/ && eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "prettier --write ./src && eslint . --ext .js,.jsx,.ts,.tsx",
"test:cjs": "pnpm build && node ./test/testFile.cjs",
"test:mjs": "pnpm build && node ./test/testFile.mjs"
"package:change": "changeset",
"package:version": "changeset version",
"package:publish": "pnpm lint && pnpm build && changeset publish"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 116d419

Please sign in to comment.