Skip to content

Merge pull request #169 from jamalsoueidan/add-product-type #838

Merge pull request #169 from jamalsoueidan/add-product-type

Merge pull request #169 from jamalsoueidan/add-product-type #838

# If you change the name, please change workflows in the static.yml file
name: Bundle and build Open API documentation
on:
push:
branches:
- main
jobs:
build-and-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: Set up Node.js 18
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies and run bundle openapi
run: |
npm ci
npm run validate
npm run bundle
npm run generate-docs
- name: Commit and push changes
uses: EndBug/[email protected]
with:
author_name: GitHub Action
author_email: [email protected]
message: "Bundle openapi.yml and commit updated code"
branch: ${{ github.head_ref }}