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

[feature] Mini CI para builds #18

Merged
merged 7 commits into from
Oct 1, 2020
Merged

[feature] Mini CI para builds #18

merged 7 commits into from
Oct 1, 2020

Conversation

MinusFour
Copy link
Contributor

Discutido en #11 agrego un workflow para CI (para ver si alguna build falla al momento de subir más que nada). También mueve el workflow de los equipos de Github.

It will lint all project files with eslint and stylelint. It will also
run the webpack build. No tests are done yet so no test suite is being
run.
Eslint and Stylelint both need a list of files to lint. The npm scripts
run against a set of files. Webpack config now depends on env data being
passed down from the CLI. This is so we can have both development and
production configs in one same file.
Self hosted workflow will attempt to install packages, run both linters
and then to produce a webpack build. In case any of these fails then the
whole action status should reflect that it failed.
Eslint loads webpack to resolve modules and it doesn't set up
environment variables. This makes devevelopment the default. Also ignore
any files that might appear on the dist folder.
@MinusFour MinusFour added the enhancement New feature or request label Sep 30, 2020
Since we are using a self-hosted machine now (that can build AND deploy
way faster now), we no longer need a convoluted workflow. It also adds
an image for ARM64 (there's probably a better way for this). In the
future this can also build for x86.
This new event runs workflow at base instead of the merge commit. Which
means we can run a safe workflow against pull request code.
Since we are using a rPIv4 it's much faster to run it on ARM64.
@MinusFour MinusFour merged commit 0af3bd2 into elhacker-net:dev Oct 1, 2020
@MinusFour MinusFour deleted the add-ci-workflow-move-to-self-hosted branch October 1, 2020 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant