Skip to content

Conversation

@stepancar
Copy link

@stepancar stepancar commented Jan 13, 2026

Use prebuild binaries for faster package installation

@stepancar stepancar added the skip review PullPro notifies Slack once merged label Jan 13, 2026
@stepancar stepancar changed the title fix(*): make release fix(*): compile binaries for mac and linux Jan 14, 2026
@stepancar stepancar removed the skip review PullPro notifies Slack once merged label Jan 14, 2026
@Tommy-Hu
Copy link

Why did the yarn.lock file change so much even though the package.json is pretty much the same?

Copy link

@sabjorn sabjorn left a comment

Choose a reason for hiding this comment

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

LGTM -- one suggestion and one question but merge whenever you want

@stepancar
Copy link
Author

Why did the yarn.lock file change so much even though the package.json is pretty much the same?

I didn't update yarn lock in the previous PR

run: node install_ffmpeg_static.js

- name: Build for npm publish
run: FFMPEG_STATIC=1 npx node-gyp rebuild

Choose a reason for hiding this comment

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

are builds platform specific? like if we build in the github action here, will the binary be able to be used on mac arm?

Copy link
Author

Choose a reason for hiding this comment

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

@michaeljherrmann builds are platform specific, this is why I build for mac arm64 and linux64. For other environments installation fallback will rebuild package for current platform

Choose a reason for hiding this comment

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

I just didn't see any code specific to arm here but maybe I missed it


on:
push:
branches: [main]

Choose a reason for hiding this comment

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

if you remove the branch filter but keep push, doesn't this mean it will run on each push on each branch? do we want that?

Copy link
Author

Choose a reason for hiding this comment

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

@michaeljherrmann ,
for regular pushes to branch it will just build binaries, which validates that change in PR valid
for merges to master it will release

Co-authored-by: Steeve Bjornson <stevenbjornson@gmail.com>
@stepancar stepancar merged commit b11a195 into main Jan 15, 2026
2 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.

5 participants