-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update dependencies & README #72
Conversation
392ff43
to
13ddc29
Compare
a50ecff
to
4e0c256
Compare
4e0c256
to
1b95490
Compare
Hey @tuurep this would be ready to review now as well :) This is just dependency & documentation updates. Notable changes that had to be made due to the updates were a couple of typing-related things and the switch to ESLint's new flat config. (I already added the "we support full extended syntax" claim to the README to clean it up; I think it's okay, we will have it before the next release) |
I have to get back to this soon But can you tell me the command to run the lint? Tried:
Then after installing package
|
Should be just
This is not necessary :) |
Ahh, right! Most likely that's it. I'll be back. |
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.
There's one typo in CONTRIBUTING but other than that, I see no issues
As far as dependencies bump, I made sure that Can't test at runtime because of the Node SEA issue of course :) but I'm gonna check the Edit: I could test with the CI build artifact of course - no issues. But now I notice that when unzipping the artifact, |
Oh, that's annoying haha. What's worse is that it seems this has been an open issue on the GitHub-maintained What do you think, double archive or wrong permissions? I think I am leaning towards double archive to be honest, seems like something someone who doesn't know much about technical stuff would figure out more easily. Most important will be to know what the release action will do. Couldn't find clear docs on it. I guess we will just have to see what happens and then bump the releases until we fix it :( |
3634858
to
e21cebc
Compare
Okay so I ended up making a test repo to figure this out. I took like 10 tries until it worked so I think it's good that didn't happen here haha. It's super hard to test, but this is what worked in the end on the test repo where jobs:
build-linux:
name: Build Linux
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: vivify-linux
path: linux
release:
name: Release
needs: [build-linux]
runs-on: ubuntu-latest
steps:
- name: download linux artifact
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/download-artifact@v4
with:
name: vivify-linux
path: ./linux
- name: archive
run: |
ls -la linux
chmod +x linux/hehe.sh
zip -r linux.zip linux
- name: release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: '*.zip' Up/download artifact seems to flatten the file hierarchy and download unzips automatically just as upload zips. So in the release job we end up with just the files, but with stripped permissions, at the specified
In regard to this I would actually argue now to just leave it as it is because the person without technical expertise won't need to directly use the CI outputs anyways. Let me know what you think! |
Ok! I was definitely wondering if there's a difference between a release and a build artifact, so that clears that up. Although unfortunate that the release is so hard to test. So... I guess I approve but with fingers crossed as well 😄 Unless, would I be able to test how your test repo release zip behaves on my system? |
And yes, this isn't so important, as long as it doesn't affect the release or anything else. Me downloading these artifacts will be temporary if all goes well + I can always script this workflow for these tests. |
Thanks a lot!
I invited you to the test repo if you want to have a look. I tried to make a minimal but full replication of what should happen on Vivify there. Feel free to do whatever you want there haha, e.g. make more releases ( |
Ok, thanks! I tested that the release unzips sensibly and I'll check one thing: whether build artifact here has the 'can't open multiple viewers' issue, or if it's introduced in the ESM PR |
Nice, thanks! And does Vivify's CI look like it does the same thing to you?🙈 |
This doesn't happen here, confirmed! And I double checked that it's indeed the case that this is happening in the ESM PR. I'll start debugging as you suggested and lets continue on the other PR
Hmm if it means this part:
then sure, looks like the same I think this PR is ready to merge, unless anything else :D |
Close #69