From ef28c77655e161a39a0c90db6e9c28f0796c7856 Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Tue, 7 May 2024 10:52:41 +0100 Subject: [PATCH] Update CI --- .github/workflows/main.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 15b795d0..b9c3141b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,7 +92,7 @@ jobs: with: commit: 'Publish packages' title: 'Publish packages' - publish: ./node_modules/.bin/changeset publish + publish: pnpm publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index e931a409..5989aa4d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "build": "turbo run build --log-order grouped", "lint": "turbo run lint --log-order grouped", "lint:fix": "turbo lint:fix --log-order grouped && pnpm prettier --log-level warn --ignore-unknown --write '{.,!packages}/*'", - "test": "turbo run test --log-order grouped" + "test": "turbo run test --log-order grouped", + "publish": "pnpm build && changesets publish" }, "devDependencies": { "@changesets/changelog-github": "^0.5.0",