feat: setup swagger ui #3
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: "Pull Request Checks" | |
on: | |
pull_request: | |
jobs: | |
## | |
# install | |
## | |
install: | |
name: "Install" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v4 | |
- name: "🧶 Setup Yarn Dependencies" | |
uses: ./.github/actions/use-yarn-dependencies | |
## | |
# lint, build documentation, build package and test | |
## | |
lint: | |
name: "Lint" | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v4 | |
- name: "🧶 Setup Yarn Dependencies" | |
uses: ./.github/actions/use-yarn-dependencies | |
- name: "👕 Lint" | |
run: yarn lint | |
build: | |
name: "Build" | |
needs: install | |
environment: development | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v4 | |
- name: "🧶 Setup Yarn Dependencies" | |
uses: ./.github/actions/use-yarn-dependencies | |
- name: "🏗️ Build" | |
run: | | |
yarn env | |
yarn build | |
typecheck: | |
name: "Type Check" | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v4 | |
- name: "🧶 Setup Yarn Dependencies" | |
uses: ./.github/actions/use-yarn-dependencies | |
- name: "📋 Type Check" | |
run: yarn typecheck |