Commit graph

12 commits

Author SHA1 Message Date
Andrew Luca
7893bc510c
chore: downgrade scripts support to node 12 (#473)
From start scripts needed to be run with node 13 (esm support)
Because data.js was a esm export, and needed to be compiled
Moved all scripts to commontjs, and data.js file
So can be imported by scripts without compiling
2020-01-20 22:37:32 +02:00
Andrew Luca
86b6b5d6d3
feat: change validate action to take into consideration only add… (#422)
`node scripts/data-valdiate.js` cand also be run locally

This also will fix the issue when some valid URL returned timeout
Because the action wanted to make all requests at the same time

`git restore` is available only from Git 2.23

https://github.blog/2019-08-16-highlights-from-git-2-23/#experimental-alternatives-for-git-checkout

Closes #382
2020-01-18 15:27:15 +02:00
Hugo Di Francesco
1df5931b5a exit fine locally 2020-01-13 18:04:04 +00:00
Hugo Di Francesco
053874e441 make action fail on failure... 2020-01-13 18:02:15 +00:00
Hugo Di Francesco
bc1475090f Merge remote-tracking branch 'upstream/master' into check-url 2020-01-13 17:40:18 +00:00
Hugo Di Francesco
2bd152678b increase request timeout 2020-01-13 16:11:01 +00:00
Hugo Di Francesco
0e4168908c only fail on 4xx, 5xx and other real errors 2020-01-13 15:52:44 +00:00
Hugo Di Francesco
d681750ba2 change wording of output 2020-01-13 15:46:03 +00:00
Hugo Di Francesco
2ed2ea5ca1 make sure uses URLs 2xx 2020-01-13 15:38:23 +00:00
Hugo Di Francesco
883dca16ff allow only uses URLs 2020-01-13 15:33:56 +00:00
Wes Bos
3a9ce9d6be better validation 2020-01-10 13:44:02 -05:00
Andrew Luca
ad8cc4a9be
feat: add action to validate data.js
Closes #141
2020-01-10 19:07:55 +02:00