-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Add release workflow for staging the Python package through GHA to PyPI #41
Conversation
Along the lines, the patch includes "developer guide" documentation for both Python and JavaScript.
Run specific tests: | ||
|
||
??? | ||
|
||
Format code: | ||
|
||
??? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't know relevant incantations for the JavaScript domain. Are there any?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"scripts": { |
npm test
and npm build
But I can add them later in the upcoming javascript patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah sorry I didn't see the "?", no currently there is no format
, maybe we should add it int he future with prettier
, for running a single test is npm test -- other.test.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Yeah, please fill in the gaps, or delete sections where applicable.
.github/workflows/release.yml
Outdated
- name: Publish package to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GHA workflow needs the PYPI_API_TOKEN
secret, which has just been added to the repository.
About
A release workflow for staging the Python package through GHA to PyPI.
Along the lines, the patch includes "developer guide" documentation for both Python and JavaScript.