From 4b4c1915b8a87eb9a9487ae346218515a83ca676 Mon Sep 17 00:00:00 2001 From: "K.Utsunomiya" Date: Fri, 3 Jul 2026 16:38:21 +0900 Subject: [PATCH 1/4] Add CI workflow and update release workflow to use ubuntu-slim and consistent environment variables --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ .github/workflows/release.yml | 11 ++++++++--- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..141d678 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + NUXT_TELEMETRY_DISABLED: 1 + +jobs: + build: + runs-on: ubuntu-slim + steps: + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + with: + node-version-file: ".tool-versions" + cache: "yarn" + - run: yarn install --frozen-lockfile + - run: yarn dev:prepare + - run: yarn lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc24603..6ede707 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,17 @@ permissions: id-token: write # Required for OIDC contents: read +env: + NUXT_TELEMETRY_DISABLED: 1 + jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: "24.x" registry-url: "https://registry.npmjs.org/" From 7d8b9904cbb70df46ad1a6cf81e2991e8f26ce2b Mon Sep 17 00:00:00 2001 From: "K.Utsunomiya" Date: Fri, 3 Jul 2026 16:43:19 +0900 Subject: [PATCH 2/4] Update CI and release workflows to use ubuntu-latest for consistency --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 141d678..57caa2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ env: jobs: build: - runs-on: ubuntu-slim + runs-on: ubuntu-latest steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ede707..4410caf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ env: jobs: build: - runs-on: ubuntu-slim + runs-on: ubuntu-latest steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: From b058e6aa08d3a5eac5ba78ea05ae07c93559cc18 Mon Sep 17 00:00:00 2001 From: "K.Utsunomiya" Date: Fri, 3 Jul 2026 16:43:48 +0900 Subject: [PATCH 3/4] Add timeout to CI and release workflows for improved execution control --- .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57caa2c..b90d432 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ env: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4410caf..eafe2de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ env: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: From 83a220a318c94896683b7b834e338dc0447f0fd0 Mon Sep 17 00:00:00 2001 From: "K.Utsunomiya" Date: Fri, 3 Jul 2026 16:45:55 +0900 Subject: [PATCH 4/4] Rename CI workflow to 'Check' for clarity and consistency --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b90d432..0ee3be6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI +name: Check on: push: @@ -12,7 +12,7 @@ env: NUXT_TELEMETRY_DISABLED: 1 jobs: - build: + check: runs-on: ubuntu-latest timeout-minutes: 5 steps: