Skip to content

editorial: drag-and-drop content clean-up #42

editorial: drag-and-drop content clean-up

editorial: drag-and-drop content clean-up #42

Workflow file for this run

name: roleInfo PR check
on:
pull_request:
branches:
- main
jobs:
roleInfo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: "latest"
- run: npm i linkedom [email protected]
- run: node ./common/script/buildRoleInfo.js > ./common/script/roleInfo.js
- run: npx prettier --write --print-width 200 ./common/script/roleInfo.js
- run: git diff --exit-code