Skip to content

Commit

Permalink
Use PNPM
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinkipruto committed Jul 31, 2023
1 parent 957bbd9 commit bea2534
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/codeforafrica-review-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,18 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 8
run_install: false

- name: Drop cloned DB
run: |
pnpm install
cd apps/codeforafrica
npm install
npm run drop-db "${{ secrets.CODEFORAFRICA_MONGO_URL }}/${{ secrets.CODEFORAFRICA_MONGO_DB_NAME }}-${{github.event.pull_request.number}}"
pnpm drop-db "${{ secrets.CODEFORAFRICA_MONGO_URL }}/${{ secrets.CODEFORAFRICA_MONGO_DB_NAME }}-${{github.event.pull_request.number}}"
destroy_review_app:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bea2534

Please sign in to comment.