Skip to content

Change type to allow docs_url, redoc_url and openapi_url to be null #197

Change type to allow docs_url, redoc_url and openapi_url to be null

Change type to allow docs_url, redoc_url and openapi_url to be null #197

name: Create Pull Request Prerelease
on: pull_request
jobs:
build:
if: ${{ github.repository_owner == 'cloudflare' }}
name: Build & Publish a Prerelease to the Adhoc Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
- run: npm install --frozen-lockfile
- run: npm run build
- name: Create package
run: npm pack
- name: Upload packaged chanfana artifact
uses: actions/upload-artifact@v4
with:
name: npm-package-chanfana-${{ github.event.number }} # encode the PR number into the artifact name
path: chanfana-*.tgz