diff --git a/.github/workflows/artifacts-comment.yaml b/.github/workflows/artifacts-comment.yaml index 12717c7f3..d011bb744 100644 --- a/.github/workflows/artifacts-comment.yaml +++ b/.github/workflows/artifacts-comment.yaml @@ -1,7 +1,7 @@ name: Comment on pull request on: workflow_run: - workflows: ['Test workflow with upload'] + workflows: ['Build'] types: [completed] jobs: pr_comment: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99ff6544d..1c5d40ada 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,7 @@ jobs: run: | jlpm jlpm run eslint:check - python -m pip install -e .[dev,tests] + python -m pip install -e .[tests] # Python formatting checks black . --check diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4a786f412..bae9acb8e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,13 +22,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install jupyter_packaging~=0.7.9 jupyterlab~=3.0 packaging setuptools twine wheel + pip install jupyter_packaging~=0.7.9 jupyterlab~=3.0 packaging setuptools twine build - name: Publish the Python package env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | - python setup.py sdist bdist_wheel + python -m build twine upload dist/* - name: Publish the NPM package run: |