diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 15fdcc1..85e5935 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -11,11 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install pnpm - run: curl -fsSL https://get.pnpm.io/install.sh | sh - - - uses: actions/checkout@v3 - - run: pnpm install && pnpm build && pnpm generate + - run: curl -fsSL https://get.pnpm.io/install.sh | sh - && pnpm install && pnpm build && pnpm generate - 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 b0de6ac..bf35e24 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -8,11 +8,8 @@ jobs: if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' runs-on: ubuntu-latest steps: - - name: Install pnpm - run: curl -fsSL https://get.pnpm.io/install.sh | sh - - - uses: actions/checkout@v3 - - run: pnpm install && pnpm build && pnpm generate + - run: curl -fsSL https://get.pnpm.io/install.sh | sh - && pnpm install && pnpm build && pnpm generate - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}'