File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -27,19 +27,19 @@ jobs:
27
27
with :
28
28
node-version : 18.x
29
29
30
- - name : Run npm install
31
- run : npm install
30
+ - name : Install and run pnpm install
31
+ run : npm install -g pnpm && pnpm install
32
32
33
33
- name : Run pretest
34
- run : xvfb-run -a npm run pretest
34
+ run : xvfb-run -a pnpm run pretest
35
35
if : runner.os == 'Linux'
36
36
37
37
- name : Run pretest
38
- run : npm run pretest
38
+ run : pnpm run pretest
39
39
if : runner.os != 'Linux'
40
40
41
41
- name : Run vsce package
42
- run : mkdir -p out/vsix && npm exec vsce package -- -o out/vsix/
42
+ run : mkdir -p out/vsix && pnpm exec vsce package -- -o out/vsix/
43
43
44
44
- name : Upload artifact
45
45
if : runner.os == 'Linux'
Original file line number Diff line number Diff line change @@ -17,21 +17,21 @@ jobs:
17
17
with :
18
18
node-version : 18.x
19
19
20
- - name : Run npm install
21
- run : npm install
20
+ - name : Install and run pnpm install
21
+ run : npm install -g pnpm && pnpm install
22
22
23
23
- name : Run vsce package
24
- run : mkdir -p out/vsix && npm exec vsce package -- -o out/vsix/
24
+ run : mkdir -p out/vsix && pnpm exec vsce package -- -o out/vsix/
25
25
26
26
- name : Create Github Release
27
27
uses : softprops/action-gh-release@v2
28
28
with :
29
29
files : out/vsix/*.vsix
30
30
31
31
- name : Publish to VS Code Marketplace
32
- run : npm run deploy
32
+ run : pnpm run deploy
33
33
env :
34
34
VSCE_PAT : ${{ secrets.VSCE_PAT }}
35
35
36
36
- name : Publish to Open VSX
37
- run : npm run deploy_ovsx -- --pat ${{ secrets.OVSX_PAT }}
37
+ run : pnpm run deploy_ovsx -- --pat ${{ secrets.OVSX_PAT }}
You can’t perform that action at this time.
0 commit comments