chore(deps): update plugin org.jetbrains.kotlin.jvm to v2 (#2693) #2369
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Components | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: 18.x | |
- name: Cache pnpm modules | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-exclude-test-apps-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-exclude-test-apps- | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
with: | |
run_install: | | |
- args: [--filter=\!./framework-plugins/\*/tests/apps/\*] | |
- name: Update NPM token | |
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | |
- run: pnpm turbo build --filter="!./integrations/**/*" --filter="!./daemon" | |
- run: | | |
cd api | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd app | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd chromeless | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd analyzer/api | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd analyzer/react | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd config | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd config-helpers/nextjs | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd core | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd iframe | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd framework-plugins/preact | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd framework-plugins/react | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd framework-plugins/solid | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd framework-plugins/svelte | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd framework-plugins/vue2 | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd framework-plugins/vue3 | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd properties | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd serializable-values | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd screenshot | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd storybook-helpers | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd testing | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd type-analyzer | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi | |
- run: | | |
cd vfs | |
if ! pnpm publish --no-git-checks --access public 2>error.log; then | |
if grep -q -F 'You cannot publish over the previously published versions' error.log; then | |
echo "Package is already published. Ignoring the following:" | |
cat error.log | |
else | |
cat error.log >&2 | |
exit 1 | |
fi | |
fi |