Skip to content

Feat/backend ci pipeline #2

Feat/backend ci pipeline

Feat/backend ci pipeline #2

name: Build API Client
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run yarn install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Generate API Client
run: yarn generate:api-client
- name: Commit new API client
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update API client"
commit_user_name: "github-api-actions[bot]"
commit_user_email: "github-api-actions[bot]@users.noreply.github.com"