refactor(CI): 修正範囲と関係ないActionsが走るのを抑止する (#12918)

* refactor?: 修正範囲と関係ないActionsが走るのを抑止する

* fix

* バックエンドの対象にmisskey-jsを追加&フロントエンドの対象にmisskey-jsとbackendを追加
This commit is contained in:
おさむのひと 2024-01-08 23:51:31 +09:00 committed by GitHub
parent 64de87438e
commit 0f9e3bccef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 44 additions and 1 deletions

View File

@ -1,6 +1,12 @@
name: API report (misskey.js) name: API report (misskey.js)
on: [push, pull_request] on:
push:
paths:
- packages/misskey-js/**
pull_request:
paths:
- packages/misskey-js/**
jobs: jobs:
report: report:

View File

@ -5,7 +5,19 @@ on:
branches: branches:
- master - master
- develop - develop
paths:
- packages/backend/**
- packages/frontend/**
- packages/sw/**
- packages/misskey-js/**
- packages/shared/.eslintrc.js
pull_request: pull_request:
paths:
- packages/backend/**
- packages/frontend/**
- packages/sw/**
- packages/misskey-js/**
- packages/shared/.eslintrc.js
jobs: jobs:
pnpm_install: pnpm_install:

View File

@ -5,7 +5,15 @@ on:
branches: branches:
- master - master
- develop - develop
paths:
- packages/backend/**
# for permissions
- packages/misskey-js/**
pull_request: pull_request:
paths:
- packages/backend/**
# for permissions
- packages/misskey-js/**
jobs: jobs:
unit: unit:

View File

@ -5,7 +5,20 @@ on:
branches: branches:
- master - master
- develop - develop
paths:
- packages/frontend/**
# for permissions
- packages/misskey-js/**
# for e2e
- packages/backend/**
pull_request: pull_request:
paths:
- packages/frontend/**
# for permissions
- packages/misskey-js/**
# for e2e
- packages/backend/**
jobs: jobs:
vitest: vitest:

View File

@ -6,8 +6,12 @@ name: Test (misskey.js)
on: on:
push: push:
branches: [ develop ] branches: [ develop ]
paths:
- packages/misskey-js/**
pull_request: pull_request:
branches: [ develop ] branches: [ develop ]
paths:
- packages/misskey-js/**
jobs: jobs:
test: test: