-
Notifications
You must be signed in to change notification settings - Fork 112
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
Fix builds #61
Fix builds #61
Conversation
Quetzacoalt91
commented
Jul 17, 2020
•
edited
Loading
edited
Questions | Answers |
---|---|
Description? | Fix builds generating archives |
Type? | bug fix |
BC breaks? | Nope |
Deprecations? | Nope |
Fixed ticket? | / |
How to test? | All the builds are green and the module archive can be used on a shop |
fe04ee2
to
61c6504
Compare
- name: Clean-up project | ||
uses: PrestaShopCorp/github-action-clean-before-deploy@v1.0 | ||
with: | ||
paths: node_modules |
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.
Folder node_modules is removed before zipping the module. Can you check I may do this @NeOMakinG ?
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.
I think it's fine, webpack is getting every dependencies inside bundles, but we can also check if the module continue working without the folder after npm run build
@@ -13,20 +13,42 @@ jobs: | |||
steps: | |||
- name: Checkout | |||
uses: actions/checkout@v2.0.0 | |||
- name: Build JS dependencies | |||
uses: PrestaShopCorp/github-action-build-js/12@v1.0 |
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.
Hell, this is like I did, you'r forced to do the build without our github action ? :(
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.
Because in a Docker context I loose the availability of the PrestaShop folder