Make the site easier to enter, understand, and try #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Adoption data | |
| on: | |
| pull_request: | |
| paths: | |
| - data/adoption.json | |
| - scripts/render-adoption.mjs | |
| - index.html | |
| - .github/workflows/adoption-data.yml | |
| push: | |
| branches: [main] | |
| paths: | |
| - data/adoption.json | |
| - scripts/render-adoption.mjs | |
| - index.html | |
| permissions: | |
| contents: read | |
| jobs: | |
| generated-section: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: node scripts/render-adoption.mjs --check |