From 4c2d7e1969d0c2fbad54340a410761d6351f7906 Mon Sep 17 00:00:00 2001 From: "K.Utsunomiya" Date: Fri, 3 Jul 2026 09:30:16 +0900 Subject: [PATCH] chore: Update CI and release workflows --- .github/workflows/ci.yml | 16 ++++++++++------ .github/workflows/release.yml | 8 +++++--- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d448ea1..0a45a9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,13 @@ on: jobs: static-check: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version-file: ".node-version" cache: "npm" @@ -28,7 +30,7 @@ jobs: run: npm run typecheck build-and-test: - runs-on: ubuntu-latest + runs-on: ubuntu-slim strategy: matrix: @@ -36,9 +38,11 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node-version }} cache: "npm" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c27e118..da98898 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,12 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version-file: ".node-version" registry-url: "https://registry.npmjs.org"