Skip to content

chore: build template #147

chore: build template

chore: build template #147

Workflow file for this run

name: Iroiro na Test
on:
push:
jobs:
lint:
name: Linting Test
runs-on: ubuntu-latest
steps:
- name: actions/checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: ESLint & Prettier Check
run: pnpm lint
- name: CRLF Phobia
run: npx crlf-phobia *
docs:
name: Docs Gen Test
runs-on: ubuntu-latest
steps:
- name: actions/checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Generating Documents Test
run: pnpm run docs
caffe-mocha:
name: Caffe Mocha Test
runs-on: ubuntu-latest
env:
FORCE_COLOR: 2
steps:
- name: actions/checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Build all Package
run: pnpm turbo run --filter=cocoa-discord build
- name: Mocha Test, Actually it is now Jest, and just switched to Vitest
run: pnpm --filter=cocoa-discord test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./packages/cocoa-discord/coverage