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

🌱 Add step to validate the dist folder content #84

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

UlisesGascon
Copy link
Member

@UlisesGascon UlisesGascon commented Jun 21, 2024

Main Changes

This change adds a new step in the ci pipeline. The idea is to ensure that the dist/ folder is up to date with the source code of the project. In the past quite often I forgot to do this step as it is a manual process that is not validated on PR submission.

In this PR we include in the dist folder changes in the dependencies and critical changes such as #78

Demo

When the folder is not updated:

Screenshot from 2024-06-21 08-20-57

When the folder is updated:

Screenshot from 2024-06-21 08-22-28

@UlisesGascon UlisesGascon force-pushed the fix/build-issues branch 7 times, most recently from 8995c31 to 64366cd Compare June 21, 2024 06:19
Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
@UlisesGascon UlisesGascon marked this pull request as ready for review June 21, 2024 06:26
@UlisesGascon UlisesGascon changed the title Add step to validate the dist folder content 🌱 Add step to validate the dist folder content Jun 21, 2024
dist/issue.ejs Outdated Show resolved Hide resolved
dist/report.ejs Outdated Show resolved Hide resolved
Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
@UlisesGascon UlisesGascon requested a review from lelia June 22, 2024 11:07
Copy link
Contributor

@lelia lelia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@justaugustus justaugustus merged commit 37cbd35 into main Jun 25, 2024
2 checks passed
@justaugustus justaugustus deleted the fix/build-issues branch June 25, 2024 17:26
lelia pushed a commit to lelia/scorecard-monitor that referenced this pull request Jun 25, 2024
* ci: add step to validate the dist folder content

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>

* chore: update dist folder

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>

* chore: linting

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>

---------

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
justaugustus pushed a commit that referenced this pull request Jun 25, 2024
* Fix issue template ossf link

Signed-off-by: lelia <le1ia@me.com>

* Rebuild js

Signed-off-by: lelia <le1ia@me.com>

* Address review feedback

Signed-off-by: lelia <le1ia@me.com>

* Update outdated snapshots for tests

Signed-off-by: lelia <le1ia@me.com>

* 🌱 Add step to validate the dist folder content (#84)

* ci: add step to validate the dist folder content

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>

* chore: update dist folder

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>

* chore: linting

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>

---------

Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>

* Fix merge conflict, rebuild dist files

Signed-off-by: lelia <le1ia@me.com>

---------

Signed-off-by: lelia <le1ia@me.com>
Signed-off-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Co-authored-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
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