]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(ci): trusted publisher (#13768)
authoredison <daiwei521@126.com>
Wed, 20 Aug 2025 12:39:07 +0000 (20:39 +0800)
committerGitHub <noreply@github.com>
Wed, 20 Aug 2025 12:39:07 +0000 (20:39 +0800)
Related to e18e/ecosystem-issues#201

.github/workflows/release.yml

index c260a728e71c272e3b694ec2bee18666965dbbaa..1e263f387ac5f946612faf939ef264e119be4b91 100644 (file)
@@ -36,12 +36,13 @@ jobs:
       - name: Install deps
         run: pnpm install
 
+      - name: Update npm
+        run: npm i -g npm@latest
+
       - name: Build and publish
         id: publish
         run: |
           pnpm release --publishOnly
-        env:
-          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: Create GitHub release
         id: release_tag