diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index b349a68176607..6ff282164d4e2 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -132,8 +132,8 @@ jobs: pnpm install --frozen-lockfile # Check if a custom publish script exists in package.json - if jq -e '.scripts.publish' package.json > /dev/null; then - pnpm run publish + if jq -e '.scripts.release' package.json > /dev/null; then + pnpm run release else pnpm publish --access public --no-git-checks fi diff --git a/packages/ui-components/package.json b/packages/ui-components/package.json index 87f5b3aa90005..1556858876f02 100644 --- a/packages/ui-components/package.json +++ b/packages/ui-components/package.json @@ -20,7 +20,7 @@ "compile:ts": "tsc", "compile:css": "postcss --dir dist --base src \"src/**/*.module.css\" src/styles/index.css", "compile": "node --run compile:ts && node --run compile:css", - "publish": "node --run compile && node scripts/publish.mjs", + "release": "node --run compile && node scripts/publish.mjs", "lint": "node --run lint:js && node --run lint:css", "lint:css": "stylelint \"**/*.css\" --allow-empty-input --cache --cache-strategy=content --cache-location=.stylelintcache", "lint:css:fix": "node --run lint:css -- --fix",