mirror of
https://gitea.com/actions/setup-python.git
synced 2024-11-22 10:09:35 +01:00
1 KiB
1 KiB
Contributors
Checkin
- Do checkin source (src)
- Do checkin a single index.js file after running
ncc
- Do not checkin node_modules
NCC
In order to avoid uploading node_modules
to the repository, we use zeit/ncc to create a single index.js
file that gets saved in dist/
.
Developing
If you're developing locally you can run
npm install
tsc
ncc build
An files generated using tsc
will be added to lib/
however those files also are not uploaded to the repository and are exluded using .gitignore
.
During the commit step, Husky will take care of formatting all files with Prettier
Testing
We ask that you include a link to a succesfull run that utilizes the changes you are working on. For example, if your changes are in the branch newAwesomeFeature
, then show an example run that uses setup-python@newAwesomeFeature
. This will help speed up testing and help us confirm that there are no breaking changes or bugs.