Skip to content

chore: repository structure #233

chore: repository structure

chore: repository structure #233

Workflow file for this run

name: 'CI'
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: build
runs-on: ubuntu-20.04
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Install
uses: ./.github/actions/install
- name: Run build
run: pnpm build
tests:
name: Tests
runs-on: ubuntu-20.04
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Install
uses: ./.github/actions/install
- name: Run tests
run: pnpm test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
linter:
name: Linter
runs-on: ubuntu-20.04
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Install
uses: ./.github/actions/install
- name: Run ESLint
run: pnpm lint
format:
name: Format
runs-on: ubuntu-20.04
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Install
uses: ./.github/actions/install
- name: Run Prettier
run: pnpm format:check