Pre-release. Until the official launch, content may change, including published files.
Skip to content

Source: https://datamodels.jp/en/toolkit/check · Text CC BY 4.0

Checking and building ​

bash
npx github:geolonia/datamodels-toolkit#v0.3.3 check
npx github:geolonia/datamodels-toolkit#v0.3.3 build

check validates every schema and example. build writes the site into _site/; open _site/index.html to look at it. On GitHub, the workflow runs the same check on every pull request.

GitHub Action ​

The workflow that init writes (.github/workflows/publish.yml) uses the toolkit's GitHub Action. The Action runs check and build and publishes the node on GitHub Pages. On a pull request it only checks and builds; every push to main publishes (Publish on GitHub Pages).

The workflow pins the Action to a release. Move to a newer one with upgrade; Dependabot also proposes new releases.