Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: try making the workflow more resilient?
  • Loading branch information
pranav-new-relic authored Nov 7, 2025
commit bd5807ab117e785cae95008792b2ac5c41c45f72
17 changes: 15 additions & 2 deletions .github/workflows/final-manual-deploy-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,22 @@ jobs:
# Set this to the Node.js version your docs site uses
node-version: '18'

# THIS IS THE MODIFIED STEP
- name: Install Dependencies
# Update this if you use yarn or pnpm
run: npm ci
run: |
if [ -f yarn.lock ]; then
echo "Detected yarn.lock, using yarn install"
yarn install --frozen-lockfile
elif [ -f pnpm-lock.yaml ]; then
echo "Detected pnpm-lock.yaml, using pnpm install"
pnpm install --frozen-lockfile
elif [ -f package-lock.json ]; then
echo "Detected package-lock.json, using npm ci"
npm ci
else
echo "No lockfile detected, using npm install"
npm install
fi

- name: Install Netlify CLI
run: npm install -g netlify-cli
Expand Down
Loading