node-gamedig/.github/workflows/games_list.yml
CosminPerRam 2fea903517
feat: add GAMES_LIST.md action (#637)
* feat: add action

* oops, wrong tool script

* purposely wrong commit changing GAMES_LIST badly

* revert last commit

* change GAMES_LIST

* revert last commit

* add random entry in games.js

* revert last commit
2024-09-15 21:25:30 +03:00

31 lines
636 B
YAML

name: Games List Markdown Validation
on:
push:
paths:
- "lib/games.js"
- ".github/workflows/games_list.yml" # This action
pull_request:
paths:
- "lib/games.js"
- ".github/workflows/games_list.yml" # This action
workflow_dispatch:
jobs:
check_file:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Run games list generation
run: node tools/generate_games_list.js
- name: Check for changes
run: git diff --exit-code GAMES_LIST.md