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: Revise PR Github Action, Update testing framework and Lint Files #40

Merged
merged 6 commits into from
Sep 23, 2024

Conversation

alexs-mparticle
Copy link
Collaborator

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

  • Update Github Actions to align with other kits
  • Update testing framework

Testing Plan

  • Was this tested locally? If not, explain why.
  • Run automated tests

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

npx semantic-release

- name: Archive npm failure logs
uses: actions/upload-artifact@v4
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks for remembering to make this v4!

Copy link
Collaborator

@rmi22186 rmi22186 left a comment

Choose a reason for hiding this comment

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

small comments.

@@ -0,0 +1,14 @@
version: 2
Copy link
Collaborator

Choose a reason for hiding this comment

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

I noticed you didn't include dependabot files in a previous CI/CD update. Including it will just result in a ton of spam from testing dependencies. Decisio is yours, but my thoughts are to remove and reconsider when we have a new forwarder ecosystem architecture.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since this is an older repo, we have a lot of backlogged dependabot updates. My thought was to include the dependabot yml from Web SDK that isolates the main/master branch, limits updates to production only and runs once a week. This way we can reduce the deluge of PRrs and bring things in line until we can come up with a better solution.

.github/workflows/release.yml Outdated Show resolved Hide resolved
dist/BingAdsEventForwarder.common.js Outdated Show resolved Hide resolved
test/.prettierrc Outdated
@@ -0,0 +1,5 @@
{
"singleQuote": true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's interesting that this is single quote, but the src file has been updated to be all double quotes

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. I thin it's because I accidentally put it in the /tests folder.

dist/BingAdsEventForwarder.common.js Outdated Show resolved Hide resolved
test/release.config.js Outdated Show resolved Hide resolved
@rmi22186
Copy link
Collaborator

i would also add Lint files to the commit message

@alexs-mparticle alexs-mparticle changed the title fix: Revise PR Github Action and update testing framework fix: Revise PR Github Action, Update testing framework and Lint Files Sep 23, 2024
@alexs-mparticle alexs-mparticle merged commit 17a7b15 into master Sep 23, 2024
3 of 6 checks passed
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.

2 participants