Compare commits

...

1 Commits

Author SHA1 Message Date
9480614ba2 fix(pr-lint): yarn and npm install tweaks (#173) 2025-06-25 20:58:01 +03:00

View File

@@ -53,12 +53,16 @@ runs:
shell: bash
run: |
if [ -f pnpm-lock.yaml ]; then
npm install -g pnpm # GitHub Actions runners dont come with pnpm
npm install -g pnpm
pnpm install
elif [ -f yarn.lock ]; then
npm install -g yarn
yarn install
elif [ -f package-lock.json ]; then
npm ci
if ! npm ci; then
echo "::warning ::npm ci failed falling back to npm install (lockfile drift?)"
npm install
fi
else
echo "No supported lockfile found, skipping Node.js dependencies installation."
fi