Skip to content

ci: build against the bundle this SDK generates from #4

ci: build against the bundle this SDK generates from

ci: build against the bundle this SDK generates from #4

Workflow file for this run

on:
push:
branches:
- '**'
pull_request:
workflow_call:
inputs:
artifact:
description: >-
Take the bundle from this run's artifacts rather than the latest
release. Only set it when the caller shares the run.
required: false
type: boolean
default: false
ref:
description: Ref of this repository to build.
required: false
type: string
default: main
name: Build
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: vrchatapi/specification/.github/actions/setup@ci/modernise-actions
with:
repository: vrchatapi/vrchatapi-javascript
ref: ${{ inputs.ref || github.ref }}
bundle: openapi.json
artifact: ${{ inputs.artifact }}
- uses: pnpm/action-setup@v6
with:
version: 10
run_install: false
- run: pnpm install
- run: pnpm build