From 4e4c5f656190a946f95c145fa2e21fcd8c44f685 Mon Sep 17 00:00:00 2001 From: habara keigo Date: Wed, 8 Oct 2025 14:38:54 +0900 Subject: [PATCH] Update workflows to run 'npm install' before 'npm ci' --- .github/workflows/deploy-doc.yml | 2 +- .github/workflows/generate-code.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-doc.yml b/.github/workflows/deploy-doc.yml index 1966108d..26a26468 100644 --- a/.github/workflows/deploy-doc.yml +++ b/.github/workflows/deploy-doc.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Pages uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Install dependencies - run: npm ci + run: npm install && npm ci - name: Build API Docs run: export NODE_OPTIONS=--openssl-legacy-provider; npm run apidocs diff --git a/.github/workflows/generate-code.yml b/.github/workflows/generate-code.yml index 5ca72cf1..bdb756fa 100644 --- a/.github/workflows/generate-code.yml +++ b/.github/workflows/generate-code.yml @@ -34,7 +34,7 @@ jobs: architecture: x64 - name: Install Dependency - run: npm ci + run: npm install && npm ci # Generate codes - name: Generate code diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4a776d4..2de3da94 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: node-version: ${{ matrix.node }} cache: 'npm' - name: Install Dependency - run: npm ci + run: npm install && npm ci - name: Test generator run: cd generator; mvn package; cd .. - name: Generate code