Skip to content

Commit

Permalink
Add common-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
toririm committed Feb 1, 2025
1 parent ed21f82 commit 4626c04
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/common-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: common

on:
pull_request:
paths:
- 'modules/common/**'
- '.github/workflows/common-ci.yml'

defaults:
run:
working-directory: modules/common

jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
task:
- name: 'typecheck'
command: 'pnpm run typecheck'
- name: 'unit test'
command: 'pnpm run test:unit'
- name: 'db test'
command: 'pnpm run test:db'
steps:
- uses: actions/checkout@v4
- uses: './.github/actions/setup-deps'
- run: ${{ matrix.task.command }}

0 comments on commit 4626c04

Please sign in to comment.