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

chore: Add workflows #123

Merged
merged 1 commit into from
Oct 18, 2024
Merged

chore: Add workflows #123

merged 1 commit into from
Oct 18, 2024

Conversation

andykog
Copy link
Member

@andykog andykog commented Oct 18, 2024

Add GH workflows:

  • test - run tests on PR's & commits in master
  • release - can be triggered manually to create a new GH release with attached files chrome.zip & firefox.zip. Commit SHA is used as release name
  • mobx-devtools-mst-publish - publish mobx-devtools-mst npm package

@andykog andykog self-assigned this Oct 18, 2024
@andykog andykog marked this pull request as ready for review October 18, 2024 13:45
@@ -11,7 +11,7 @@
"build:chrome": "cross-env NODE_ENV=production cross-env NODE_OPTIONS='--openssl-legacy-provider' TARGET_BROWSER=chrome node scripts/webextension/build.js && echo 'Chrome built'",
"start:firefox": "cross-env NODE_ENV=development cross-env TARGET_BROWSER=firefox NODE_OPTIONS='--openssl-legacy-provider' node scripts/webextension/dev-server.js",
"build:firefox": "cross-env NODE_ENV=production TARGET_BROWSER=firefox NODE_OPTIONS='--openssl-legacy-provider' node scripts/webextension/build.js",
"test": "npm run test:unit ; npm run test:e2e",
"test": "npm run test:unit",
Copy link
Member Author

Choose a reason for hiding this comment

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

e2e tests are broken, excluded them from running in CI

Copy link
Collaborator

Choose a reason for hiding this comment

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

@andykog - I think only Firefox e2e is broken. Maybe worthwhile to change this to test:e2e:chrome to at least run something.

Those tests don't do much, so I don't feel very strongly about it one way or another.

Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason chrome seems to hang: https://github.com/mobxjs/mobx-devtools/actions/runs/11405976300/job/31738662591
Maybe there's some problem with the invironment
Merging like this for now

@coolsoftwaretyler
Copy link
Collaborator

@andykog this is great, thank you very much! I think you're good to merge, but I had one suggestion on running at least Chrome e2e tests. I don't feel strongly so I say merge either way you prefer.

@andykog andykog merged commit 1d4caab into master Oct 18, 2024
1 check 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