From 691572e57e2ef86fbec31d5bd52a7a1cf387177c Mon Sep 17 00:00:00 2001 From: JounQin Date: Tue, 12 Mar 2024 15:02:07 +0800 Subject: [PATCH] ci: fix release error --- .github/workflows/ci.yml | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9370992ef..84dfb151d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,9 +10,7 @@ jobs: strategy: matrix: os: - - macos-latest - ubuntu-latest - - windows-latest node: - 18 - 20 diff --git a/package.json b/package.json index fd4235d9a..a74b8bc77 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "lint": "yarn lint:es && yarn update:eslint-docs --check", "lint:es": "eslint . --cache", "prebuild": "rimraf lib", - "prepublishOnly": "yarn build", + "release": "changeset publish", "test": "jest", "update:eslint-docs": "yarn build && eslint-doc-generator --rule-doc-title-format prefix-name --rule-doc-section-options false --rule-list-split meta.docs.category --ignore-config stage-0 --config-emoji recommended,☑️", "watch": "yarn test --watch"