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

Only run post-processing if the original data file has changed #74

Open
alecglen opened this issue Sep 24, 2022 · 2 comments · May be fixed by #75
Open

Only run post-processing if the original data file has changed #74

alecglen opened this issue Sep 24, 2022 · 2 comments · May be fixed by #75

Comments

@alecglen
Copy link

My post-processing script is a fairly intensive process and uses around 20-50 of Action minutes per run. It would help me save on compute minutes if Flat first checked to see whether the original data had changed before kicking off the post-processing script.

@alecglen
Copy link
Author

As an alternative, I did try adding a check manually in my postprocess.ts script, as below:
image

However, running the action yields the following error:
Error: TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'execSync'.

Any advice on what I'm missing?

@RA80533
Copy link

RA80533 commented Dec 5, 2022

Node.js modules have to be imported using their full URLs in Deno (see The std/node Library).

Change "child_process" to "https://deno.land/std/node/child_process.ts" and it should work.

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 a pull request may close this issue.

2 participants