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 9999 if : always()
100100
101101 package :
102- needs : [code-quality, test]
102+ # needs: [code-quality, test]
103103
104104 runs-on : ubuntu-latest
105105
@@ -130,7 +130,7 @@ jobs:
130130 run : npm install --also=dev
131131
132132 - name : package
133- run : poetry run npm package
133+ run : poetry run npm run package
134134
135135 - name : Upload VSCode package
136136 uses : actions/upload-artifact@v2
@@ -195,7 +195,7 @@ jobs:
195195
196196 - name : get release notes
197197 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)"
199199
200200 - name : find assets
201201 id : find_assets
@@ -255,7 +255,7 @@ jobs:
255255 asset_content_type : application/whl
256256
257257 - name : publish vsix and python packages
258- run : poetry run npm publish
258+ run : poetry run npm run publish
259259 env :
260260 VSCE_PAT : ${{ secrets.VSCE_PAT }}
261261 OVSX_PAT : ${{ secrets.OVSX_PAT }}
Original file line number Diff line number Diff line change 22from subprocess import run
33
44
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
78
89
910if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments