Skip to content

Commit 7d3d8c0

Browse files
committed
try to npm script with poetry without npm-run script
1 parent 7fc7f3d commit 7d3d8c0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
run: npm install --also=dev
189189

190190
- name: package
191-
run: poetry run npm-run package
191+
run: poetry run npm run package
192192

193193
- name: Upload VSCode package
194194
uses: actions/upload-artifact@v2
@@ -275,7 +275,7 @@ jobs:
275275

276276
- name: get release notes
277277
id: get_release_notes
278-
run: echo "::set-output name=release_notes::$(poetry run npm-run extract-release-notes)"
278+
run: echo "::set-output name=release_notes::$(poetry run npm run extract-release-notes)"
279279

280280
- name: find assets
281281
id: find_assets
@@ -335,7 +335,7 @@ jobs:
335335
asset_content_type: application/whl
336336

337337
- name: publish vsix and python packages
338-
run: poetry run npm-run publish
338+
run: poetry run npm run publish
339339
env:
340340
VSCE_PAT: ${{ secrets.VSCE_PAT }}
341341
OVSX_PAT: ${{ secrets.OVSX_PAT }}

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ classifiers = [
4848
"Topic :: Text Editors :: Integrated Development Environments (IDE)",
4949
]
5050

51-
[tool.poetry.scripts]
52-
npm-run='scripts.npm_run:main'
5351

5452
[tool.poetry.dependencies]
5553
python = "^3.8"
56-
robotframework = {version = ">=4.0.0", allow-prereleases = false}
54+
robotframework = { version = ">=4.0.0", allow-prereleases = false }
5755

5856

5957
[tool.poetry.dev-dependencies]

0 commit comments

Comments
 (0)