You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
In data/deals.json, some objects contain an expiry date. We can check this expiry date against the current date to infer when our data is stale, signalling that we MUST update the data.
So it would be nice to have a script that checks this data. Perhaps a new node script in tools/ that we can run via an npm script in package.json.
It would be awesome if we could integrate this into our CircleCI workflow. In case someone publishes the extension with expired data, CircleCI could throw an error and prevent it from being published!
Note: Some deals have no expiry date, so those may expire at any time. Those deals are out-of-scope for this issue, so feel free to ignore them.
The text was updated successfully, but these errors were encountered:
Sounds good! Let me know if you have any questions. I'm a little busy this week but I'd be glad to clarify anything that is unclear.
You can view some example data in the data folder. Note that only deals can have expiry dates, but not all deals have expiry dates. Take a look at data/deals/schema.json for an example of what values the expiry date can take on!
Here's a brief overview of what continuous integration is if you choose to integrate it into out CircleCI workflow.
In
data/deals.json
, some objects contain an expiry date. We can check this expiry date against the current date to infer when our data is stale, signalling that we MUST update the data.So it would be nice to have a script that checks this data. Perhaps a new node script in
tools/
that we can run via an npm script inpackage.json
.It would be awesome if we could integrate this into our CircleCI workflow. In case someone publishes the extension with expired data, CircleCI could throw an error and prevent it from being published!
Note: Some deals have no expiry date, so those may expire at any time. Those deals are out-of-scope for this issue, so feel free to ignore them.
The text was updated successfully, but these errors were encountered: