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
Use GitHub Actions #485
Use GitHub Actions #485
Conversation
5810881
to
75a0ab6
Compare
The actions pass in my fork: https://github.com/stasm/fluent.js/actions?query=branch%3Aactions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to see them passing.
Would you want to have wider compat-ranges on dependencies, and test those?
That would conflict with the use of npm ci
, for one. Also, you could prep that in the same way we did for python-fluent, and add a matrix for that already.
.github/workflows/fluent-bundle.yml
Outdated
@@ -0,0 +1,22 @@ | |||
name: "@fluent/bundle" | |||
on: [push, pull_request] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd restrict these, similar to what we've done in python-fluent
. That way it's obvious what should happen on pushes to gh-pages
. Or maybe just exclude gh-pages
? I haven't figured out how much the action config of one branch blends others. Maybe not even remotely as much as I thought it would.
Also, do you want to start restricting when automation is run for what now or in a follow-up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a commit which restricts the workflows to pushes to master and PRs against master.
Can you explain what you mean by this? What kind of matrix does |
In https://github.com/projectfluent/python-fluent/blob/9f88c05094fbe34899775df19184589b962a42fa/.github/workflows/fluent.runtime.yml#L28 I'm testing across all the versions of |
Oh, interesting! I think I must have missed this last week. I think this could be useful for testing different versions of React in |
In On a positive note, dependency information for node is machine readable, so one could check. I started thinking about moving the test deps into I ended up not worrying about that too much, as the job names are pretty explicit about what they test. Could even make that expliciter by putting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the badge URLs work. Should be https://github.com/projectfluent/fluent.js/workflows/@fluent/dom/badge.svg
and friends. At least that's the URL I get from the workflows on your repo, and then substituting the stasm.
https://github.com/stasm/fluent.js/actions?query=workflow%3A%40fluent%2Fdom for reference.
Hmm, I used the workflow file path variant from https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#example-using-a-workflow-file-path because the workflow names have funny characters in them. It looks like it doesn't work. I'm surprised to see that I can just use |
Let's try something simple first: one workflow per package, using
make dist
.