feat: can open more than one errorNotification #20
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: CI Strategy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-api: | |
name: Lint API | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install deps | |
run: pnpm install | |
- name: Lint | |
run: pnpm api lint | |
lint-client: | |
name: Lint Client | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install deps | |
run: pnpm install | |
- name: Lint | |
run: pnpm client lint | |
typecheck: | |
name: Typecheck API | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install deps | |
run: pnpm install | |
- name: Typecheck | |
run: pnpm api typecheck | |
vitest: | |
name: Unit test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install deps | |
run: pnpm install | |
- name: vitest | |
run: pnpm -r test |