Skip to content

Ci/modernise actions - #12

Merged
ariesclark merged 20 commits into
mainfrom
ci/modernise-actions
Aug 9, 2026
Merged

Ci/modernise actions#12
ariesclark merged 20 commits into
mainfrom
ci/modernise-actions

Conversation

@ariesclark

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 9, 2026 11:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the repository鈥檚 CI/release automation by removing the Node-based OpenAPI Generator CLI dependency and restructuring GitHub Actions workflows to generate, test, and publish the Java SDK using a dedicated generator setup action.

Changes:

  • Remove package.json / package-lock.json (drop vendored Node OpenAPI Generator CLI dependency).
  • Switch generate.sh from invoking node_modules/@openapitools/openapi-generator-cli to the openapi-generator executable.
  • Replace the previous Maven workflow and refactor .github/workflows/ci.yaml to include generate/test/publish jobs and add push/pull_request triggers.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Removed Node dependency for OpenAPI Generator CLI.
package-lock.json Removed lockfile since Node deps are no longer used.
openapitools.json Removes schema path that depended on node_modules; keeps generator version pin.
generate.sh Uses openapi-generator on PATH instead of Node CLI.
.github/workflows/maven.yml Deleted legacy Maven CI workflow.
.github/workflows/ci.yaml New consolidated CI workflow with generate/test/publish and updated triggers/actions.
Suppressed comments (1)

.github/workflows/ci.yaml:41

  • ref: ${{ inputs.ref || github.ref }} will break on push/pull_request because the inputs context only exists for workflow_dispatch/workflow_call. Split this into two checkout steps so only the workflow_call path references inputs.ref.
      - uses: actions/checkout@v7
        with:
          repository: vrchatapi/vrchatapi-java
          ref: ${{ inputs.ref || github.ref }}


馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread generate.sh
rm src/main/java/io/github/vrchatapi/model -rf

./node_modules/\@openapitools/openapi-generator-cli/main.js generate \
openapi-generator generate \
Comment thread .github/workflows/ci.yaml
Comment on lines +29 to +31
env:
PASSED_VERSION: ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON(inputs.json || '{}'))['version'] }}
VERSION_POSTPEND: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }}
@ariesclark
ariesclark merged commit a34258f into main Aug 9, 2026
9 checks passed
@ariesclark
ariesclark deleted the ci/modernise-actions branch August 9, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants