Skip to content

Commit 880aaf0

Browse files
committed
chore: fix release.yml
1 parent bd12c1d commit 880aaf0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ jobs:
5555
- name: Build
5656
run: npm run build
5757

58+
- name: NPM Login
59+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
60+
5861
- name: Publish to NPM
59-
env:
60-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
61-
run: |
62-
lerna publish from-package --yes
62+
run: lerna publish from-package --yes
6363

6464
publish-vscode-marketplace:
6565
runs-on: ubuntu-latest
@@ -84,7 +84,7 @@ jobs:
8484
- name: Publish to VSCode Marketplace
8585
working-directory: extensions/vscode
8686
env:
87-
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
87+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
8888
run: vsce publish
8989

9090
publish-open-vsx:

0 commit comments

Comments
 (0)