Skip to content

chore(deps): update dependency rimraf to ^5.0.6 (#2672) #2339

chore(deps): update dependency rimraf to ^5.0.6 (#2672)

chore(deps): update dependency rimraf to ^5.0.6 (#2672) #2339

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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 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@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.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