1
0
Fork 0

Call out node_modules behavior (#37)

* Update node12-action.md

* Update node12-action.md

* Update node12-action.md
pull/39/head^2
Danny McCormick 2019-08-01 17:08:30 -04:00 committed by GitHub
parent 3977d56fd3
commit dfccb207bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -107,7 +107,13 @@ $ git add <whatever only files you added>
$ git commit -m "Message"
```
> husky will add/vendor node_modules and prune dev dependencies. See husky in package.json for details. There is no need for you to add node_modules.
**IMPORTANT**: do not git add or .gitignore node_modules.
Husky will add/vendor node_modules and prune dev dependencies. See husky in package.json for details. There is no need for you to add node_modules.
NOTE: We understand that the process of checking in node_modules is currently somewhat painful for some use cases. We are actively tracking an enhancement in [this issue](https://github.com/actions/node12-template/issues/4) to improve this process (and are open to any suggestions :smile:).
In the meantime we still **strongly encourage** you to not check in dev-dependencies, it will significantly bloat the size of actions and degrade the experience.
# Publish Action