Skip to content

Commit

Permalink
add script to install pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSaah committed Jun 4, 2023
1 parent ea5b87e commit 27e708f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down

0 comments on commit 27e708f

Please sign in to comment.