Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/ci-update-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Checking if generated files are up to date

on:
push:
branches:
- main
- dev-2.0
pull_request:
branches:
- "*"

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 20.x
- name: Get node modules
run: npm ci
env:
CI: true
- name: Build documentation
run: npm run docs
env:
CI: true
- name: Check Git status
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "There are uncommitted changes in the generated files. Please run 'npm docs' and commit the changes."
git status
exit 1
else
echo "All generated files are up to date."
fi
4 changes: 4 additions & 0 deletions docs/parameterData.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,6 +4655,10 @@
},
"modify": {
"overloads": [
[
"Function",
"Object?"
],
[
"Object?"
]
Expand Down