Skip to content

Commit 212f0fe

Browse files
committed
ci: update npm
1 parent 0f866a5 commit 212f0fe

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ jobs:
101101
uses: actions/setup-node@v6
102102
with:
103103
node-version-file: vscode/.nvmrc
104+
registry-url: https://registry.npmjs.org
105+
package-manager-cache: false
104106

105107
- name: Install Dependencies
106108
run: |
@@ -178,12 +180,10 @@ jobs:
178180
npm pack
179181
180182
- name: Publishing on NPM
181-
uses: JS-DevTools/npm-publish@v4
182-
with:
183-
token: ${{ secrets.NPM_TOKEN }}
184-
package: ./code-oss
185-
access: public
186-
provenance: true
183+
run: |
184+
npm install -g npm@latest
185+
cd code-oss
186+
npm publish --provenance
187187
188188
- name: Release on GitHub
189189
uses: softprops/action-gh-release@v3

0 commit comments

Comments
 (0)