mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user