Skip to content

Commit

Permalink
Chore/update publish commands (#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvoskamp authored Feb 7, 2024
1 parent 0c3d406 commit 7186d23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
node-version: 16

- name: Install Dependencies
run: npm run clean && npm install
run: npm install

- name: Create Release Pull Request
uses: changesets/action@v1
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"prettier:format": "prettier --write .",
"clean": "rm -rf `find . -type d -name node_modules -o -name dist -o -name .next -o -name out`; rm package-lock.json",
"changeset": "changeset",
"publish:latest": "npm run build; npm publish --no-private --access public --tag latest",
"publish:alpha": "npm run build; npm publish --no-private --access public --tag alpha",
"publish:beta": "npm run build; npm publish --no-private --access public --tag beta",
"publish:canary": "npm run build; npm publish --no-private --access public --tag canary"
"publish:latest": "npm install; npm run build; changeset publish",
"publish:alpha": "npm install; npm run build; changeset publish --tag alpha",
"publish:beta": "npm install; npm run build; changeset publish --tag beta",
"publish:canary": "npm install; npm run build; changeset publish --tag canary"
},
"workspaces": [
"packages/common",
Expand Down

0 comments on commit 7186d23

Please sign in to comment.