w3c / spec-prod

GitHub Action to build ReSpec/Bikeshed specs, validate output and publish to GitHub pages or W3C
https://w3c.github.io/spec-prod/
MIT License
34 stars 21 forks source link

fix(validate/webidl): use crawlSpecs API #110

Closed tidoust closed 3 years ago

tidoust commented 3 years ago

The crawl-specs utility was moved to a different folder in latest version of Reffy and Web IDL validation currently crashes because of that.

The relevant function is now directly exported by the tool, allowing to simplify the require statement.

sidvishnoi commented 3 years ago

I wonder if we should add version in install("reffy") step (assuming reffy follows semver)

tidoust commented 3 years ago

I wonder if we should add version in install("reffy") step (assuming reffy follows semver)

Yes, I hadn't thought that the update would break spec-prod but I had bumped the major version of Reffy when I made that change, so specifying the major version seems like a good idea!

I updated the PR.

sidvishnoi commented 3 years ago

Thanks @tidoust. Released in v2 ≡ v2.6.3.