Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Update README.md

Update README.md #8

Workflow file for this run

name: on-push
on:
push:
jobs:
build:
runs-on:
- ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Generate Typescript Client
uses: openapi-generators/openapitools-generator-action@v1
with:
generator: typescript-fetch
openapi-file: spec.json
command-args: -p supportsES6=true -p npmName=awx-api-client -p npmVersion=1.0.0
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://npm.pkg.github.com'
- run: corepack enable
- name: Use Yarn
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
- name: Build Typescript Client
working-directory: typescript-fetch-client
run: yarn install && yarn build
- name: Publish Typescript Client
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}