Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
41 changes: 8 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,38 +57,13 @@ jobs:
exit 0
fi

if [ -f pnpm-lock.yaml ]; then
corepack enable
pnpm install --frozen-lockfile
if node -e "process.exit(require('./package.json').scripts?.['release:check'] ? 0 : 1)"; then
pnpm run release:check
else
pnpm run check --if-present
pnpm test --if-present
pnpm run build --if-present
pnpm run smoke --if-present
pnpm run package:smoke --if-present
fi
elif [ -f package-lock.json ]; then
npm ci
if node -e "process.exit(require('./package.json').scripts?.['release:check'] ? 0 : 1)"; then
npm run release:check
else
npm run check --if-present
npm test --if-present
npm run build --if-present
npm run smoke --if-present
npm run package:smoke --if-present
fi
npm ci
if node -e "process.exit(require('./package.json').scripts?.['release:check'] ? 0 : 1)"; then
npm run release:check
else
npm install
if node -e "process.exit(require('./package.json').scripts?.['release:check'] ? 0 : 1)"; then
npm run release:check
else
npm run check --if-present
npm test --if-present
npm run build --if-present
npm run smoke --if-present
npm run package:smoke --if-present
fi
npm run check --if-present
npm test --if-present
npm run build --if-present
npm run smoke --if-present
npm run package:smoke --if-present
fi
19 changes: 19 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.