Browse Source

chore(ci): trusted publisher (#13768)

Related to e18e/ecosystem-issues#201
edison 8 months ago
parent
commit
7420564b20
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/release.yml

+ 3 - 2
.github/workflows/release.yml

@@ -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