mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-17 09:22:36 +00:00
ci: ensure example/ passes renovate-config-validator
Some checks failed
Build / prepare (push) Has been cancelled
Build / commitlint (push) Has been cancelled
Build / renovate-config-validator (push) Has been cancelled
Build / lint (push) Has been cancelled
Build / e2e (example/renovate-config.js) (push) Has been cancelled
Build / e2e (example/renovate-config.json) (push) Has been cancelled
Build / release (push) Has been cancelled
Some checks failed
Build / prepare (push) Has been cancelled
Build / commitlint (push) Has been cancelled
Build / renovate-config-validator (push) Has been cancelled
Build / lint (push) Has been cancelled
Build / e2e (example/renovate-config.js) (push) Has been cancelled
Build / e2e (example/renovate-config.json) (push) Has been cancelled
Build / release (push) Has been cancelled
As noted in #910, we have invalid configuration shared as an example,
which isn't ideal.
We should validate any JSON and `config.js` files in the example
directory.
We need to make sure that we override the ESM settings in this repo, as
otherwise we receive:
module is not defined in ES module scope
When trying to validate the `renovate-config.js`.
This also follows the usage of a container from Renovate[0] for using
the container to run the validator.
[0]: 2ab0f77818/.github/workflows/test.yml (L44)
This commit is contained in:
parent
47283fac74
commit
a417869363
2 changed files with 22 additions and 0 deletions
3
example/package.json
Normal file
3
example/package.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue