Skip to content

PATCH: fix swagger with project children #154

PATCH: fix swagger with project children

PATCH: fix swagger with project children #154

Workflow file for this run

name: Javascript Api Client
on:
push:
branches:
- main
- master
jobs:
test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install dependencies
run: npm install
- name: Run test
run: npm test
publish:
runs-on: self-hosted
needs: test
if: contains('
refs/heads/master
refs/heads/main'
, github.ref)
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: actions/setup-python@v4
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Release
run: npx semantic-release --extends ./config/release.config.js
env:
GITHUB_TOKEN: ${{ secrets.REPOS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}