5e5f4ae2080b28e0950332d0ff194809e4409f4b
Drop npm_config_build_from_source=true so node-pre-gyp downloads the published prebuilt .node for Node 22 (ABI node-v127, linux-x64-glibc-2.35) instead of compiling libopus C++ every build. Replace the hardcoded 'npm run install' (node-gyp compile) loop with 'pnpm rebuild @discordjs/opus' which runs the package's own install script (prebuilt fetch, source build only as fallback). sharp already uses @img prebuilt packages (its install script failure is non-fatal), so only opus was actually compiling.
Description
Bete Discord moderation watcher
27 MiB
Languages
TypeScript
96.9%
Nix
1.2%
Shell
0.9%
CSS
0.5%
PLpgSQL
0.5%