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

GitHub action for building and testing no longer works #398

Open
hjfreyer opened this issue Mar 29, 2024 · 0 comments
Open

GitHub action for building and testing no longer works #398

hjfreyer opened this issue Mar 29, 2024 · 0 comments

Comments

@hjfreyer
Copy link

I tried to make a minor modification to the extension and use GitHub Actions to build the project in an isolated environment, but it failed in a couple different ways.

First: https://github.com/hjfreyer/Rewrap/actions/runs/8481929442/job/23240192315

/usr/bin/bash /home/runner/work/_actions/GabrielBB/xvfb-action/v1.2/cleanup.sh
No xvfb processes to kill
/usr/bin/xvfb-run: 184: ./do: Permission denied
/home/runner/work/_actions/GabrielBB/xvfb-action/v1.2/node_modules/@actions/exec/lib/toolrunner.js:561
                error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);

Then I made a change to make do executable, but it still didn't work: https://github.com/hjfreyer/Rewrap/actions/runs/8481949322

/usr/bin/bash /home/runner/work/_actions/GabrielBB/xvfb-action/v1.2/cleanup.sh
No xvfb processes to kill
internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'timers' imported from /home/runner/work/Rewrap/Rewrap/.config/do.mjs
    at new NodeError (internal/errors.js:322:7)
    at packageResolve (internal/modules/esm/resolve.js:732:9)

This one seemed harder to fix, so I gave up.

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

No branches or pull requests

1 participant