{"id":3257,"date":"2026-08-23T07:11:07","date_gmt":"2026-08-22T22:11:07","guid":{"rendered":"https:\/\/qol-kk.com\/wp2\/?p=3257"},"modified":"2026-08-24T20:06:52","modified_gmt":"2026-08-24T11:06:52","slug":"20260821-plan012","status":"publish","type":"post","link":"https:\/\/qol-kk.com\/wp2\/blog\/2026\/08\/23\/20260821-plan012\/","title":{"rendered":"GitHub Actions \u5165\u9580 \u2014 \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u57fa\u672c\u69cb\u6587"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>GitHub Actions \u306f GitHub \u306b\u7d71\u5408\u3055\u308c\u305f CI\/CD \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e push \u3084 pull request \u306a\u3069\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u306b\u3001\u30c6\u30b9\u30c8\u30fb\u30d3\u30eb\u30c9\u30fb\u30c7\u30d7\u30ed\u30a4\u3068\u3044\u3063\u305f\u51e6\u7406\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002\u5916\u90e8\u306e CI \u30b5\u30fc\u30d3\u30b9\u3092\u5225\u9014\u5951\u7d04\u305b\u305a\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306b YAML \u30921\u3064\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u52d5\u304d\u59cb\u3081\u308b\u306e\u304c\u5927\u304d\u306a\u5229\u70b9\u3067\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001GitHub Actions \u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u69cb\u6210\u3059\u308b\u6700\u5c0f\u5358\u4f4d\u306e\u8981\u7d20\uff08<code>on<\/code> \/ <code>jobs<\/code> \/ <code>steps<\/code> \u306a\u3069\uff09\u3092\u30cf\u30f3\u30ba\u30aa\u30f3\u5f62\u5f0f\u3067\u7d44\u307f\u7acb\u3066\u306a\u304c\u3089\u3001\u300cYAML \u3092\u898b\u3066\u69cb\u9020\u304c\u8aad\u3081\u308b\u300d\u72b6\u614b\u3092\u76ee\u6a19\u306b\u57fa\u672c\u69cb\u6587\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<h2>\u74b0\u5883<\/h2>\n<ul>\n<li>GitHub \u30ea\u30dd\u30b8\u30c8\u30ea\uff08public \/ private \u3044\u305a\u308c\u3082\u53ef\uff09<\/li>\n<li>\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u7f6e\u304d\u5834\u6240: <code>.github\/workflows\/<\/code> \u914d\u4e0b<\/li>\n<li>\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f: YAML\uff08\u62e1\u5f35\u5b50\u306f <code>.yml<\/code> \u307e\u305f\u306f <code>.yaml<\/code>\uff09<\/li>\n<li>\u30e9\u30f3\u30ca\u30fc: GitHub \u304c\u30db\u30b9\u30c8\u3059\u308b <code>ubuntu-latest<\/code> \u7b49\uff08\u672c\u8a18\u4e8b\u3067\u306f\u3053\u308c\u3092\u4f7f\u7528\uff09<\/li>\n<\/ul>\n<h2>\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u5168\u4f53\u50cf<\/h2>\n<p>\u307e\u305a\u7528\u8a9e\u306e\u968e\u5c64\u3092\u62bc\u3055\u3048\u307e\u3059\u3002\u4e0a\u304b\u3089\u9806\u306b\u5305\u542b\u95a2\u4fc2\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>Workflow\uff08\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\uff09<\/strong>: <code>.github\/workflows\/<\/code> \u306b\u7f6e\u304f YAML \u30d5\u30a1\u30a4\u30eb1\u3064\u3002\u81ea\u52d5\u5316\u51e6\u7406\u306e\u307e\u3068\u307e\u308a<\/li>\n<li><strong>Event\uff08\u30a4\u30d9\u30f3\u30c8\uff09<\/strong>: \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u8d77\u52d5\u3059\u308b\u304d\u3063\u304b\u3051\uff08<code>push<\/code>\u3001<code>pull_request<\/code>\u3001<code>schedule<\/code> \u306a\u3069\uff09<\/li>\n<li><strong>Job\uff08\u30b8\u30e7\u30d6\uff09<\/strong>: \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u5185\u306e\u5b9f\u884c\u5358\u4f4d\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u4e26\u5217\u306b\u8d70\u308b<\/li>\n<li><strong>Runner\uff08\u30e9\u30f3\u30ca\u30fc\uff09<\/strong>: \u30b8\u30e7\u30d6\u3092\u5b9f\u884c\u3059\u308b\u4eee\u60f3\u30de\u30b7\u30f3<\/li>\n<li><strong>Step\uff08\u30b9\u30c6\u30c3\u30d7\uff09<\/strong>: \u30b8\u30e7\u30d6\u5185\u3067\u9806\u756a\u306b\u5b9f\u884c\u3055\u308c\u308b\u500b\u3005\u306e\u51e6\u7406<\/li>\n<li><strong>Action\uff08\u30a2\u30af\u30b7\u30e7\u30f3\uff09<\/strong>: \u30b9\u30c6\u30c3\u30d7\u304b\u3089\u547c\u3073\u51fa\u3059\u518d\u5229\u7528\u53ef\u80fd\u306a\u90e8\u54c1<\/li>\n<\/ul>\n<p>\u300c\u30ef\u30fc\u30af\u30d5\u30ed\u30fc \u2283 \u30b8\u30e7\u30d6 \u2283 \u30b9\u30c6\u30c3\u30d7\u300d\u3068\u3044\u3046\u5165\u308c\u5b50\u3092\u610f\u8b58\u3059\u308b\u3068 YAML \u304c\u8aad\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u6700\u5c0f\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u66f8\u304f<\/h2>\n<p>\u307e\u305a\u306f push \u306e\u305f\u3073\u306b\u300cHello\u300d\u3068\u51fa\u529b\u3059\u308b\u3060\u3051\u306e\u6700\u5c0f\u69cb\u6210\u3067\u3059\u3002<code>.github\/workflows\/hello.yml<\/code> \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">name: Hello Workflow\n\non: push\n\njobs:\n  say-hello:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Print greeting\n        run: echo \"Hello, GitHub Actions!\"<\/pre>\n<p>\u5404\u30ad\u30fc\u306e\u5f79\u5272\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><code>name<\/code>: \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u8868\u793a\u540d\u3002\u7701\u7565\u53ef\uff08\u7701\u7565\u6642\u306f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u8868\u793a\u3055\u308c\u308b\uff09<\/li>\n<li><code>on<\/code>: \u30c8\u30ea\u30ac\u30fc\u3068\u306a\u308b\u30a4\u30d9\u30f3\u30c8\u3002\u3053\u3053\u3067\u306f <code>push<\/code><\/li>\n<li><code>jobs<\/code>: \u30b8\u30e7\u30d6\u5b9a\u7fa9\u306e\u30de\u30c3\u30d7\u3002<code>say-hello<\/code> \u306f\u30b8\u30e7\u30d6 ID\uff08\u4efb\u610f\u306e\u540d\u524d\uff09<\/li>\n<li><code>runs-on<\/code>: \u30b8\u30e7\u30d6\u3092\u52d5\u304b\u3059\u30e9\u30f3\u30ca\u30fc\u306e\u6307\u5b9a<\/li>\n<li><code>steps<\/code>: \u4e0a\u304b\u3089\u9806\u306b\u5b9f\u884c\u3055\u308c\u308b\u30b9\u30c6\u30c3\u30d7\u306e\u914d\u5217<\/li>\n<li><code>run<\/code>: \u30b7\u30a7\u30eb\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u30b9\u30c6\u30c3\u30d7<\/li>\n<\/ul>\n<p>\u3053\u306e YAML \u3092\u30b3\u30df\u30c3\u30c8\u3057\u3066 push \u3059\u308b\u3068\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u300cActions\u300d\u30bf\u30d6\u306b\u5b9f\u884c\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30a4\u30d9\u30f3\u30c8\uff08on\uff09\u306e\u66f8\u304d\u65b9<\/h2>\n<p><code>on<\/code> \u306f\u66f8\u304d\u65b9\u304c\u8907\u6570\u3042\u308a\u3001\u6761\u4ef6\u3092\u7d5e\u308c\u307e\u3059\u3002<\/p>\n<h3>\u5358\u4e00\u30a4\u30d9\u30f3\u30c8<\/h3>\n<pre class=\"lang:default decode:true\">on: push<\/pre>\n<h3>\u8907\u6570\u30a4\u30d9\u30f3\u30c8<\/h3>\n<pre class=\"lang:default decode:true\">on: [push, pull_request]<\/pre>\n<h3>\u30d6\u30e9\u30f3\u30c1\u3084\u30d1\u30b9\u3067\u7d5e\u308a\u8fbc\u3080<\/h3>\n<pre class=\"lang:default decode:true\">on:\n  push:\n    branches:\n      - main\n      - \"release\/**\"\n    paths:\n      - \"src\/**\"\n  pull_request:\n    branches:\n      - main<\/pre>\n<ul>\n<li><code>branches<\/code>: \u5bfe\u8c61\u30d6\u30e9\u30f3\u30c1\u3092\u9650\u5b9a\u3002<code>**<\/code> \u306a\u3069\u306e\u30d1\u30bf\u30fc\u30f3\u304c\u4f7f\u3048\u308b<\/li>\n<li><code>paths<\/code>: \u7279\u5b9a\u306e\u30d1\u30b9\u306b\u5909\u66f4\u304c\u3042\u3063\u305f\u3068\u304d\u3060\u3051\u8d77\u52d5<\/li>\n<\/ul>\n<h3>\u5b9a\u671f\u5b9f\u884c\u3068\u624b\u52d5\u5b9f\u884c<\/h3>\n<pre class=\"lang:default decode:true\">on:\n  schedule:\n    - cron: \"0 0 * * *\"   # \u6bce\u65e5 00:00 (UTC) \u306b\u5b9f\u884c\n  workflow_dispatch:        # \u624b\u52d5\u30c8\u30ea\u30ac\u30fc\u3092\u8a31\u53ef<\/pre>\n<p><code>schedule<\/code> \u306e\u6642\u523b\u306f UTC \u57fa\u6e96\u3067\u3042\u308b\u70b9\u306b\u6ce8\u610f\u3057\u307e\u3059\u3002<code>workflow_dispatch<\/code> \u3092\u4ed8\u3051\u308b\u3068\u3001Actions \u30bf\u30d6\u304b\u3089\u624b\u52d5\u3067\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30b8\u30e7\u30d6\u3068\u30b9\u30c6\u30c3\u30d7\u3092\u7d44\u307f\u7acb\u3066\u308b<\/h2>\n<p>\u5b9f\u52d9\u3067\u3088\u304f\u3042\u308b\u300c\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8 \u2192 \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7 \u2192 \u30c6\u30b9\u30c8\u300d\u306e\u6d41\u308c\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002Node.js \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f8b\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">name: CI\n\non:\n  pull_request:\n    branches: [main]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions\/checkout@v4\n\n      - name: Setup Node.js\n        uses: actions\/setup-node@v4\n        with:\n          node-version: \"20\"\n          cache: \"npm\"\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run tests\n        run: npm test<\/pre>\n<h3>uses \u3068 run \u306e\u9055\u3044<\/h3>\n<ul>\n<li><code>uses<\/code>: \u516c\u958b\u3055\u308c\u3066\u3044\u308b <strong>\u30a2\u30af\u30b7\u30e7\u30f3<\/strong> \u3092\u547c\u3073\u51fa\u3059\u3002<code>actions\/checkout@v4<\/code> \u306e <code>@v4<\/code> \u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a<\/li>\n<li><code>run<\/code>: \u4efb\u610f\u306e\u30b7\u30a7\u30eb\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b<\/li>\n<\/ul>\n<p><code>actions\/checkout<\/code> \u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30b3\u30fc\u30c9\u3092\u30e9\u30f3\u30ca\u30fc\u4e0a\u306b\u53d6\u5f97\u3059\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u3067\u3001\u307b\u307c\u5168\u3066\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u8d77\u70b9\u306b\u306a\u308a\u307e\u3059\u3002<code>with<\/code> \u306f\u30a2\u30af\u30b7\u30e7\u30f3\u3078\u6e21\u3059\u5165\u529b\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3059\u3002<\/p>\n<h2>\u8907\u6570\u30b8\u30e7\u30d6\u3068\u4f9d\u5b58\u95a2\u4fc2\uff08needs\uff09<\/h2>\n<p>\u30b8\u30e7\u30d6\u306f\u65e2\u5b9a\u3067\u4e26\u5217\u306b\u8d70\u308a\u307e\u3059\u3002\u9806\u5e8f\u3092\u4ed8\u3051\u305f\u3044\u5834\u5408\u306f <code>needs<\/code> \u3067\u4f9d\u5b58\u3092\u5ba3\u8a00\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">jobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\/checkout@v4\n      - run: echo \"lint...\"\n\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\/checkout@v4\n      - run: echo \"test...\"\n\n  deploy:\n    needs: [lint, test]   # lint \u3068 test \u304c\u4e21\u65b9\u6210\u529f\u3057\u305f\u3089\u5b9f\u884c\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"deploy...\"<\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f <code>lint<\/code> \u3068 <code>test<\/code> \u304c\u4e26\u5217\u306b\u8d70\u308a\u3001\u4e21\u65b9\u304c\u6210\u529f\u3057\u3066\u304b\u3089 <code>deploy<\/code> \u304c\u52d5\u304d\u307e\u3059\u30021\u3064\u3067\u3082\u5931\u6557\u3059\u308c\u3070 <code>deploy<\/code> \u306f\u30b9\u30ad\u30c3\u30d7\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u30d3\u30eb\u30c9<\/h2>\n<p>\u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u3084\u8907\u6570 OS \u3067\u540c\u3058\u30b8\u30e7\u30d6\u3092\u56de\u3057\u305f\u3044\u3068\u304d\u306f <code>strategy.matrix<\/code> \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">jobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [\"18\", \"20\", \"22\"]\n    steps:\n      - uses: actions\/checkout@v4\n      - uses: actions\/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - run: npm ci\n      - run: npm test<\/pre>\n<p><code>matrix.node-version<\/code> \u306b\u5217\u6319\u3057\u305f\u5024\u306e\u6570\u3060\u3051\u30b8\u30e7\u30d6\u304c\u4e26\u5217\u5c55\u958b\u3055\u308c\u307e\u3059\u3002<code>${{ ... }}<\/code> \u306f\u5f0f\uff08expression\uff09\u306e\u8a18\u6cd5\u3067\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u5024\u3092\u57cb\u3081\u8fbc\u3080\u3068\u304d\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h2>\u74b0\u5883\u5909\u6570\u3068\u30b7\u30fc\u30af\u30ec\u30c3\u30c8<\/h2>\n<p>\u74b0\u5883\u5909\u6570\u306f <code>env<\/code> \u3067\u5b9a\u7fa9\u3067\u304d\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc \/ \u30b8\u30e7\u30d6 \/ \u30b9\u30c6\u30c3\u30d7\u306e\u5404\u968e\u5c64\u306b\u7f6e\u3051\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">env:\n  APP_ENV: production\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      LOG_LEVEL: info\n    steps:\n      - run: echo \"env=$APP_ENV level=$LOG_LEVEL\"<\/pre>\n<p>API \u30c8\u30fc\u30af\u30f3\u306a\u3069\u306e\u6a5f\u5bc6\u5024\u306f YAML \u306b\u76f4\u63a5\u66f8\u304b\u305a\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e Settings \u2192 Secrets \u306b\u767b\u9332\u3057\u3066 <code>secrets<\/code> \u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u53c2\u7167\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">steps:\n  - name: Deploy\n    run: .\/deploy.sh\n    env:\n      DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}<\/pre>\n<p>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u306f\u30ed\u30b0\u51fa\u529b\u6642\u306b\u81ea\u52d5\u7684\u306b\u30de\u30b9\u30af\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u3082\u305d\u3082 <code>echo<\/code> \u306a\u3069\u3067\u51fa\u529b\u3057\u306a\u3044\u306e\u304c\u57fa\u672c\u3067\u3059\u3002<\/p>\n<h2>\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n<ol>\n<li><code>.github\/workflows\/<\/code> \u306b\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u30b3\u30df\u30c3\u30c8\u30fbpush \u3059\u308b<\/li>\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e <strong>Actions<\/strong> \u30bf\u30d6\u3092\u958b\u304f<\/li>\n<li>\u5bfe\u8c61\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u5b9f\u884c\uff08run\uff09\u3092\u9078\u3073\u3001\u30b8\u30e7\u30d6 \u2192 \u30b9\u30c6\u30c3\u30d7\u306e\u9806\u306b\u30ed\u30b0\u3092\u5c55\u958b\u3059\u308b<\/li>\n<li>\u5404\u30b9\u30c6\u30c3\u30d7\u306e\u6210\u529f\uff08\u7dd1\uff09\uff0f\u5931\u6557\uff08\u8d64\uff09\u3068\u6a19\u6e96\u51fa\u529b\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ol>\n<p>YAML \u306e\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u3042\u308b\u5834\u5408\u306f\u3001Actions \u30bf\u30d6\u4e0a\u3067\u30d1\u30fc\u30b9\u30a8\u30e9\u30fc\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30ed\u30fc\u30ab\u30eb\u3067\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f YAML \u30ea\u30f3\u30bf\u30fc\u3084\u3001\u5bfe\u5fdc\u30a8\u30c7\u30a3\u30bf\u306e GitHub Actions \u62e1\u5f35\u306b\u3088\u308b\u30b9\u30ad\u30fc\u30de\u88dc\u5b8c\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u6ce8\u610f\u70b9<\/h2>\n<ul>\n<li><strong>YAML \u306f\u30a4\u30f3\u30c7\u30f3\u30c8\u306b\u53b3\u683c<\/strong>\u3002\u30bf\u30d6\u306f\u4f7f\u3048\u305a\u30b9\u30da\u30fc\u30b92\u3064\u304c\u57fa\u672c\u3002\u30cd\u30b9\u30c8\u306e\u305a\u308c\u304c\u6700\u983b\u51fa\u306e\u30a8\u30e9\u30fc<\/li>\n<li><strong><code>schedule<\/code> \u306e\u6642\u523b\u306f UTC<\/strong>\u3002\u65e5\u672c\u6642\u9593\u3067\u8003\u3048\u3066\u3044\u308b\u3068\u305a\u308c\u308b<\/li>\n<li><strong>\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u56fa\u5b9a<\/strong>\u3002<code>@v4<\/code> \u306e\u3088\u3046\u306b\u30e1\u30b8\u30e3\u30fc\u3092\u56fa\u5b9a\u3059\u308b\u304b\u3001\u3088\u308a\u53b3\u5bc6\u306b\u30b3\u30df\u30c3\u30c8\u30cf\u30c3\u30b7\u30e5\u3067\u56fa\u5b9a\u3059\u308b\u3068\u518d\u73fe\u6027\u30fb\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u9762\u3067\u5b89\u5168<\/li>\n<li><strong>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092 <code>run<\/code> \u3067\u51fa\u529b\u3057\u306a\u3044<\/strong>\u3002\u30de\u30b9\u30af\u3055\u308c\u308b\u3068\u306f\u3044\u3048\u9732\u51fa\u30ea\u30b9\u30af\u3092\u5897\u3084\u3055\u306a\u3044<\/li>\n<li><strong><code>needs<\/code> \u306f\u6210\u529f\u524d\u63d0<\/strong>\u3002\u524d\u6bb5\u304c\u5931\u6557\u3059\u308b\u3068\u5f8c\u7d9a\u306f\u30b9\u30ad\u30c3\u30d7\u3055\u308c\u308b\uff08<code>if: always()<\/code> \u306a\u3069\u3067\u5236\u5fa1\u306f\u53ef\u80fd\uff09<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>GitHub Actions \u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306f\u300c<code>on<\/code>\uff08\u3044\u3064\uff09\u2192 <code>jobs<\/code>\uff08\u4f55\u3092\uff09\u2192 <code>steps<\/code>\uff08\u3069\u3046\u3084\u3063\u3066\uff09\u300d\u3068\u3044\u30463\u968e\u5c64\u3067\u8aad\u3080\u3068\u69cb\u9020\u304c\u63b4\u3081\u307e\u3059\u3002\u307e\u305a\u306f <code>run<\/code> \u3067 <code>echo<\/code> \u3059\u308b\u3060\u3051\u306e\u6700\u5c0f\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30921\u3064\u52d5\u304b\u3057\u3001\u305d\u3053\u304b\u3089 <code>checkout<\/code> \/ <code>setup-*<\/code> \u30a2\u30af\u30b7\u30e7\u30f3\u3001<code>needs<\/code> \u306b\u3088\u308b\u4f9d\u5b58\u3001<code>matrix<\/code> \u306b\u3088\u308b\u4e26\u5217\u5c55\u958b\u3078\u3068\u6bb5\u968e\u7684\u306b\u5e83\u3052\u3066\u3044\u304f\u306e\u304c\u7fd2\u5f97\u306e\u8fd1\u9053\u3067\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u3067\u5b8c\u7d50\u3057\u8ffd\u52a0\u30b3\u30b9\u30c8\u306a\u304f\u8a66\u305b\u308b\u306e\u3067\u3001\u5c0f\u3055\u304f\u4f5c\u3063\u3066 Actions \u30bf\u30d6\u3067\u30ed\u30b0\u3092\u898b\u308b\u3001\u3092\u7e70\u308a\u8fd4\u3057\u306a\u304c\u3089\u300c\u8aad\u3081\u3066\u76f4\u305b\u308b\u300d\u72b6\u614b\u3092\u76ee\u6307\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitHub Actions \u306f GitHub \u306b\u7d71\u5408\u3055\u308c\u305f CI\/CD \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e push \u3084 pull request \u306a\u3069\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u306b\u3001\u30c6\u30b9\u30c8\u30fb\u30d3\u30eb\u30c9\u30fb\u30c7\u30d7\u30ed\u30a4\u3068\u3044\u3063\u305f\u51e6\u7406\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002\u5916\u90e8\u306e \u2026<\/p>\n","protected":false},"author":1,"featured_media":3278,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"vkexunit_cta_each_option":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1179,1180],"tags":[1182,1181],"class_list":["post-3257","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ci-cd","category-githubaction","tag-gha","tag-githubaction"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/qol-kk.com\/wp2\/wp-content\/uploads\/2026\/08\/image_8e2bec24.png","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/comments?post=3257"}],"version-history":[{"count":2,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3257\/revisions"}],"predecessor-version":[{"id":3296,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3257\/revisions\/3296"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media\/3278"}],"wp:attachment":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media?parent=3257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/categories?post=3257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/tags?post=3257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}