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

🩹Fix broken deployment build #246

Merged
merged 3 commits into from
Sep 10, 2021
Merged

🩹Fix broken deployment build #246

merged 3 commits into from
Sep 10, 2021

Conversation

s-weigand
Copy link
Owner

Ref:
https://github.com/s-weigand/binge-stream/runs/3570279099?check_suite_focus=true

Problems were:

  • size-plugin not being compatible with webpack 5
  • ts-node needing additional config to work with ES module style imports

since version 3.0.0 doesn't work with webpack 5.

Ref: GoogleChromeLabs/size-plugin#40 (comment)
…rkflow

Fixes the Error:
$ npm run update_manifest_firefox

> @ update_manifest_firefox /home/runner/work/binge-stream/binge-stream
> npx ts-node tools/firefox_manifest_append.ts

npx: installed 14 in 2.154s
(node:1884) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
Cannot use import statement outside a module
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ update_manifest_firefox: `npx ts-node tools/firefox_manifest_append.ts`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ update_manifest_firefox script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@s-weigand s-weigand added the bug Something isn't working label Sep 10, 2021
@codecov
Copy link

codecov bot commented Sep 10, 2021

Codecov Report

Merging #246 (7adc517) into main (63b093f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #246   +/-   ##
=======================================
  Coverage   48.00%   48.00%           
=======================================
  Files           5        5           
  Lines         100      100           
  Branches       18       18           
=======================================
  Hits           48       48           
  Misses         49       49           
  Partials        3        3           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63b093f...7adc517. Read the comment docs.

@s-weigand s-weigand force-pushed the fix-build branch 2 times, most recently from f51848b to 7fb5e4b Compare September 10, 2021 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant