Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-dewit committed May 1, 2024
1 parent 618ce57 commit d075d90
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -687,38 +687,3 @@ jobs:
node scripts/checkForMultipleVersions.mjs
env:
CI: true

release-openapi-lib:
name: Build and release OpenAPI typescript client
runs-on: ubuntu-latest
continue-on-error: true
timeout-minutes: 15

# only run for tags
if: contains(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- name: Prepare Environment # have to run this first to make sure the semver lib is available
run: |
yarn config set cacheFolder /home/runner/release-libs-cache
cd packages
yarn install
env:
CI: true

- name: Generate code
uses: hatamiarash7/openapi-generator@v0.3.0
with:
generator: typescript-fetch
openapi-file: ./packages/openapi/api/actions.yaml
output-dir: ./packages/openapi/client/ts
command-args: -p supportsES6=true

0 comments on commit d075d90

Please sign in to comment.