File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 99
99
if : always()
100
100
101
101
package :
102
- needs : [code-quality, test]
102
+ # needs: [code-quality, test]
103
103
104
104
runs-on : ubuntu-latest
105
105
@@ -130,7 +130,7 @@ jobs:
130
130
run : npm install --also=dev
131
131
132
132
- name : package
133
- run : poetry run npm package
133
+ run : poetry run npm run package
134
134
135
135
- name : Upload VSCode package
136
136
uses : actions/upload-artifact@v2
@@ -195,7 +195,7 @@ jobs:
195
195
196
196
- name : get release notes
197
197
id : get_release_notes
198
- run : echo "::set-output name=release_notes::$(poetry run npm extract-release-notes)"
198
+ run : echo "::set-output name=release_notes::$(poetry run npm run extract-release-notes)"
199
199
200
200
- name : find assets
201
201
id : find_assets
@@ -255,7 +255,7 @@ jobs:
255
255
asset_content_type : application/whl
256
256
257
257
- name : publish vsix and python packages
258
- run : poetry run npm publish
258
+ run : poetry run npm run publish
259
259
env :
260
260
VSCE_PAT : ${{ secrets.VSCE_PAT }}
261
261
OVSX_PAT : ${{ secrets.OVSX_PAT }}
Original file line number Diff line number Diff line change 2
2
from subprocess import run
3
3
4
4
5
- def main () -> None :
6
- run (f"npm run { ' ' .join (sys .argv [1 :])} " , shell = True ).check_returncode ()
5
+ def main () -> int :
6
+ args = f"npm { ' ' .join (sys .argv [1 :])} "
7
+ return run (args , shell = True ).returncode
7
8
8
9
9
10
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments