Skip to content

fix return undefined #259

fix return undefined

fix return undefined #259

Workflow file for this run

name: NodeCI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and build swagger-axios-codegen
run: |
npm install
npm run build
- name: build api,and test
run: |
cd example
npm i
npm run build:api
env:
CI: true