From b35684fb859dfd2b39fe584af046595fbc0b80bf Mon Sep 17 00:00:00 2001 From: Tong Li Date: Sun, 1 Jun 2025 16:25:32 +1000 Subject: [PATCH] chore: fix release script command --- .github/workflows/release.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57f32d9..6eda323 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: run: npx nx run-many --target=build --all - name: Release changed packages - run: ./script/release.ts + run: npm run ci:release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index f926781..df40e66 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "build": "nx run-many --target=build --all", "nx:sync": "nx sync", - "prepare": "husky" + "prepare": "husky", + "ci:release": "./scripts/release" }, "private": true, "devDependencies": {