Skip to content

Handle collecting deep nested enums inside OpenApi document object #74

Handle collecting deep nested enums inside OpenApi document object

Handle collecting deep nested enums inside OpenApi document object #74

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
tags:
- "*"
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn lint:ts
- run: yarn typecheck
- run: yarn test
publish:
runs-on: ubuntu-latest
needs: [test]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- name: Use Node.js v18.19.0
uses: actions/setup-node@v4
with:
node-version: 18.19.0
registry-url: https://registry.npmjs.org
- run: yarn install
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}