From 7b745e442c0957f4876c738f27267ed70548cd26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 5 May 2025 09:55:24 +0200 Subject: [PATCH] Revert "fix(release): use pnpm to publish to npm (#2075)" This reverts commit a2ce42abbb24df4446bde8b7359eb749cbfb86e4. --- .github/workflows/deploy-package.yml | 9 +-------- .gitignore | 3 --- package.json | 2 -- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/deploy-package.yml b/.github/workflows/deploy-package.yml index df21c8399..589acaef1 100644 --- a/.github/workflows/deploy-package.yml +++ b/.github/workflows/deploy-package.yml @@ -33,14 +33,7 @@ jobs: - run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Version package with lerna - run: pnpm run release:version + - run: pnpm lerna publish -y --create-release github env: HUSKY: 0 GH_TOKEN: ${{ secrets.GH_TOKEN }} - - - name: Push version and tags - run: git push origin HEAD:main --follow-tags - - - name: Publish to npm - run: pnpm run release:publish diff --git a/.gitignore b/.gitignore index 0a3ecc337..08056c2e7 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,3 @@ coverage # Protobuf definition protobuf .bufcache - -#lerna -lerna-debug.log diff --git a/package.json b/package.json index ffd1d1df6..3be6dbd19 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,6 @@ "format": "biome check --linter-enabled=false --write .", "format:check": "biome check --linter-enabled=false --verbose .", "prettier": "prettier --write '**/*.{md,mdx,yml,yaml}'", - "release:version": "pnpm lerna version -y --create-release-github", - "release:publish": "pnpm -r publish --access public --no-git-checks", "lint": "eslint --cache .", "prepare": "husky", "test": "vitest run",