Merge pull request #81 from TechEventsNearMe/CU-869bh7ety-cloudfest-g… #94
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: Validate & Build Dataset | |
| on: | |
| push: | |
| branches: ["main"] | |
| permissions: | |
| contents: write | |
| jobs: | |
| validate-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - run: npm install | |
| - run: npm run validate | |
| - run: npm run build | |
| - run: npm run update-readme | |
| - name: Debug output | |
| run: | | |
| echo "===== events.json output =====" | |
| cat data/events.json | |
| - name: Commit all automated updates | |
| uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| commit_message: "chore: auto-update dataset" | |
| file_pattern: . | |
| skip_dirty_check: false |