Skip to content

Commit fe7ce0f

Browse files
authored
ci: remove NPM_TOKEN, use latest npm (#597)
1 parent db557fd commit fe7ce0f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/typescript_publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
cache: "pnpm"
3939
cache-dependency-path: ./typescript
4040

41+
- name: Use latest npm for trusted publishing
42+
run: npm install -g npm@latest
43+
4144
- name: Install dependencies
4245
run: pnpm install --frozen-lockfile
4346

@@ -47,6 +50,4 @@ jobs:
4750
- name: Publish
4851
run: |
4952
pnpm run prepublish
50-
pnpm publish --recursive --no-git-checks --provenance --access public
51-
env:
52-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
53+
pnpm publish --recursive --no-git-checks --access public

0 commit comments

Comments
 (0)