From 7186d232fdb94887dea36dde733ecc5b86bd67e5 Mon Sep 17 00:00:00 2001 From: Sven <38101365+svenvoskamp@users.noreply.github.com> Date: Wed, 7 Feb 2024 18:23:29 +0100 Subject: [PATCH] Chore/update publish commands (#1882) --- .github/workflows/release.yml | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb8c9502b8..e999c953a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index f19294072c..9989f7cec3 100644 --- a/package.json +++ b/package.json @@ -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",