ci(release): publish with yarn instead of npm (#4646)

* chore: update yarn to 4.12.0

* ci(release): publish with yarn instead of npm

* chore: update browsers list db

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): add a resolution for react types

docusaurus is using react types v18, while discordeno uses v19

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* fix: prefix the jsx element type with the react namespace

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): update @rspack/core to v1.6.8

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

---------

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
Co-authored-by: Fleny <Fleny113@outlook.com>
This commit is contained in:
Seren_Modz 21
2025-12-19 18:12:37 +01:00
committed by GitHub
co-authored by Fleny
parent 51d2c5a763
commit 8b9930ffe0
8 changed files with 1049 additions and 1090 deletions
+1 -8
View File
@@ -36,13 +36,6 @@ jobs:
if: ${{ github.event_name != 'release' && github.event.action != 'published' }}
run: node ./scripts/bumpVersionByCommit.js ${{ matrix.package }}
- run: yarn pack
working-directory: packages/${{ matrix.package }}
# We use Trusted Publishing, however this requires npm 11.5.1 or higher
- name: Update npm
run: npm install -g npm@11.7.0
# If the action is running from a release, if prerelease use beta tag else use latest tag, otherwise use the next tag
- run: npm publish package.tgz --tag ${{ github.event_name == 'release' && github.event.action == 'published' && (github.event.release.prerelease && 'beta' || 'latest') || 'next' }} --access public --provenance
- run: yarn npm publish --tag ${{ github.event_name == 'release' && github.event.action == 'published' && (github.event.release.prerelease && 'beta' || 'latest') || 'next' }} --access public --provenance
working-directory: packages/${{ matrix.package }}