mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
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
This commit is contained in:
parent
30ed54dfcd
commit
2fea903517
1 changed files with 31 additions and 0 deletions
31
.github/workflows/games_list.yml
vendored
Normal file
31
.github/workflows/games_list.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue