summaryrefslogtreecommitdiff
path: root/.github/workflows/test-frontend.yml
diff options
context:
space:
mode:
authorKisaragi <48310258+KisaragiEffective@users.noreply.github.com>2024-07-14 17:27:27 +0900
committerGitHub <noreply@github.com>2024-07-14 17:27:27 +0900
commit09d30fef5b274c988e98e52f474afe11ff843111 (patch)
treeee33b93bdf05b8ac5f27ed3626cf9f8e84337fcf /.github/workflows/test-frontend.yml
parentfix(frontend): Nested RouteのときにRouterViewに当たるキーがルー... (diff)
downloadmisskey-09d30fef5b274c988e98e52f474afe11ff843111.tar.gz
misskey-09d30fef5b274c988e98e52f474afe11ff843111.tar.bz2
misskey-09d30fef5b274c988e98e52f474afe11ff843111.zip
ci: ワークフローが更新されたときにもワークフローが起動するようにする (#14207)
* ci: include themselves in `on.push.paths` command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.push.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.push.paths += ["{}"]' {} * ci: include themselves in `on.pull_request.paths` command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.pull_request.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.pull_request.paths += ["{}"]' {}
Diffstat (limited to '.github/workflows/test-frontend.yml')
-rw-r--r--.github/workflows/test-frontend.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml
index 9d5053b82a..5acf85cb0e 100644
--- a/.github/workflows/test-frontend.yml
+++ b/.github/workflows/test-frontend.yml
@@ -11,7 +11,7 @@ on:
- packages/misskey-js/**
# for e2e
- packages/backend/**
-
+ - .github/workflows/test-frontend.yml
pull_request:
paths:
- packages/frontend/**
@@ -19,7 +19,7 @@ on:
- packages/misskey-js/**
# for e2e
- packages/backend/**
-
+ - .github/workflows/test-frontend.yml
jobs:
vitest:
runs-on: ubuntu-latest