Skip to content

Commit a2b6c80

Browse files
committed
fix(ci): install npm for root project as well
1 parent 471a7be commit a2b6c80

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/publish_npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- name: Publish CLI to npm
3434
if: ${{ github.event.inputs.workspace_name == 'cli' }}
3535
run: |
36+
npm i
3637
npm i --workspaces
3738
npm run compile --workspaces
3839
npm publish --workspace=cli --provenance --access public

.github/workflows/publish_ovsx.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121

2222
- name: Build
2323
run: |
24-
npm i --workspaces
25-
npm run compile --workspaces
24+
npm i
25+
npm i --workspaces
26+
npm run compile --workspaces
2627
2728
- name: Publish to Open VSX Registry
2829
uses: HaaLeo/publish-vscode-extension@v1

.github/workflows/publish_vsce.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
- name: Publish
2626
run: |
27+
npm i
2728
npm i --workspaces
2829
npm run compile --workspaces
2930
npm install -g vsce

0 commit comments

Comments
 (0)