Skip to content

feat: setup swagger ui #3

feat: setup swagger ui

feat: setup swagger ui #3

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