Skip to content

TEST@main: ci: add configration for ci/cd (#5) * ci: add workflows * chore: add coverage #1

TEST@main: ci: add configration for ci/cd (#5) * ci: add workflows * chore: add coverage

TEST@main: ci: add configration for ci/cd (#5) * ci: add workflows * chore: add coverage #1

Workflow file for this run

name: Run Test
run-name: 'TEST@${{github.ref_name}}: ${{github.event.head_commit.message}}'
on:
workflow_call:
push:
branches:
- main
paths:
- '*'
- src/**
- '!**.md'
concurrency:
group: test-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test & build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/[email protected]
- name: Setup node (20.x)
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Type check
run: pnpm run typecheck
- name: Run the test
run: pnpm run test
- name: Build
run: pnpm run build