From ac42fdea5985e1a77610d59b83f1c2aa081ff4fa Mon Sep 17 00:00:00 2001 From: claustra01 Date: Sat, 10 Aug 2024 10:18:21 +0900 Subject: [PATCH] infra: use pnpm in ci --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/deploy.yml | 4 ++-- .github/workflows/pr-lighthouse.yml | 4 ++-- .github/workflows/pr-visualizer.yml | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ff9e4e..e35879a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - npm install - npm run check:ci + pnpm install + pnpm run check:ci spell: runs-on: ubuntu-latest @@ -19,8 +19,8 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - npm install - npm run spell + pnpm install + pnpm run spell build: needs: [check, spell] @@ -29,5 +29,5 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - npm install - npm run build + pnpm install + pnpm run build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 72c9908..c860c19 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,8 +12,8 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - npm install - npm run build + pnpm install + pnpm run build - uses: FirebaseExtended/action-hosting-deploy@v0 with: diff --git a/.github/workflows/pr-lighthouse.yml b/.github/workflows/pr-lighthouse.yml index 830078a..5423221 100644 --- a/.github/workflows/pr-lighthouse.yml +++ b/.github/workflows/pr-lighthouse.yml @@ -14,8 +14,8 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - npm install - npm run build + pnpm install + pnpm run build - uses: FirebaseExtended/action-hosting-deploy@v0 with: diff --git a/.github/workflows/pr-visualizer.yml b/.github/workflows/pr-visualizer.yml index a663d26..2412c9a 100644 --- a/.github/workflows/pr-visualizer.yml +++ b/.github/workflows/pr-visualizer.yml @@ -19,8 +19,8 @@ jobs: - name: Install and Build run: | - npm install - npm run build + pnpm install + pnpm run build - name: Upload artifact uses: actions/upload-pages-artifact@v3