Skip to content
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

Merged
merged 1 commit into from
Jul 20, 2020
Merged

Fix builds #61

merged 1 commit into from
Jul 20, 2020

Conversation

Quetzacoalt91
Copy link
Member

@Quetzacoalt91 Quetzacoalt91 commented Jul 17, 2020

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

@Quetzacoalt91 Quetzacoalt91 force-pushed the fix-build branch 8 times, most recently from fe04ee2 to 61c6504 Compare July 17, 2020 18:36
- name: Clean-up project
uses: PrestaShopCorp/github-action-clean-before-deploy@v1.0
with:
paths: node_modules
Copy link
Member Author

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 ?

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

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 ? :(

Copy link
Member Author

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

@NeOMakinG NeOMakinG merged commit 014cd95 into PrestaShop:new-module Jul 20, 2020
@matks matks added this to the 2.0.0 milestone Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants