From fed1974673e9790817a1e8a1f201a83a092a97a5 Mon Sep 17 00:00:00 2001 From: yamashita-kenngo Date: Sun, 14 Jul 2024 23:26:30 +0900 Subject: [PATCH] chore: fix actions --- .github/workflows/firebase-hosting-merge.yml | 5 ++++- .github/workflows/firebase-hosting-pull-request.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 91914cd..f793a05 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -11,7 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm ci && npm run build + - uses: pnpm/action-setup@v4 + with: + version: 9 + - run: pnpm install && pnpm build - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 08127d0..0374000 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -13,7 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm ci && npm run build + - uses: pnpm/action-setup@v4 + with: + version: 9 + - run: pnpm install && pnpm build - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }}