From 168cfabe7cbf5c2c7b3f42bd570140ffe5e0b9c3 Mon Sep 17 00:00:00 2001 From: nekketsuuu Date: Thu, 22 Oct 2026 15:22:48 +0900 Subject: [PATCH] Bump GitHub Actions workflow versions actions/setup-node handles package caching automatically --- .github/workflows/prepare_release.yml | 15 +++------------ .github/workflows/test.yml | 15 +++------------ 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index d681f41..d757f35 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -16,20 +16,11 @@ jobs: - macos-latest - windows-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: "22" - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v4 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + cache: yarn - run: yarn --prefer-offline - run: yarn mcp:install - run: yarn mcp:build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 470e6fe..08a0748 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,22 +18,13 @@ jobs: - macos-latest - windows-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: "22" + cache: yarn - run: sudo apt-get install xvfb if: ${{ matrix.os == 'ubuntu-latest' }} - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v4 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - run: yarn --prefer-offline - run: xvfb-run yarn ci if: ${{ matrix.os == 'ubuntu-latest' }}