Fixes for enums with no type and anyof/oneof schemas (#1136) #554
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
- v2.0.0 | |
env: | |
FORCE_COLOR: true | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
- uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2 | |
with: | |
node-version: "*" | |
registry-url: "https://registry.npmjs.org" | |
- name: Release | |
run: npx ts-node --transpile-only scripts/publish.ts | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |