Skip to content

Commit

Permalink
fixes yml bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Adebesin-Cell committed Jun 29, 2024
1 parent f9f1562 commit 3c507d2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 7 # or whatever version you prefer

- name: Check out code
uses: actions/checkout@v3
Expand All @@ -34,6 +34,15 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Generate pnpm-lock.yaml if it doesn't exist
run: |
if [ ! -f pnpm-lock.yaml ]; then
echo "pnpm-lock.yaml not found. Generating it..."
pnpm install --lockfile-only
else
echo "pnpm-lock.yaml found. Proceeding with installation..."
fi
- name: Installing dependencies
run: pnpm install --frozen-lockfile

Expand Down

0 comments on commit 3c507d2

Please sign in to comment.