mirror of
https://github.com/stashapp/CommunityScrapers.git
synced 2025-12-10 00:41:16 -06:00
add docker validator (#1910)
* add docker validator * remove container when it exists --------- Co-authored-by: feederbox826 <feederbox826@users.noreply.github.com>
This commit is contained in:
parent
c118e0d973
commit
d0f9e56417
@ -97,3 +97,10 @@ First, install the validator's dependencies - inside the [`./validator`](./valid
|
||||
|
||||
Then, to run the validator, use `node validate.js` in the root of the repository.
|
||||
Specific scrapers can be checked using: `node validate.js scrapers/foo.yml scrapers/bar.yml`
|
||||
|
||||
#### Docker option
|
||||
Instead of NodeJS being installed, Docker can be used to run the validator
|
||||
|
||||
```bash
|
||||
docker run --rm -v .:/app node:alpine /bin/sh -c "cd /app/validator && yarn install --silent && cd .. && node validate.js --ci""
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user