Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

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

Open

Description

@alecglen

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.

Activity

  1. alecglen commented on Sep 29, 2022

    @alecglen
    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?

  2. RA80533 commented on Dec 5, 2022

    @RA80533

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions