Allow handlers to be async, add extra helper export #353
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update API Spec | |
on: | |
push: | |
branches-ignore: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: api-spec-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update-api-spec: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Generate spec | |
shell: bash | |
run: | | |
npm install | |
npm run gen | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
add: . | |
message: "Autogenerate config update" | |
default_author: github_actions |