mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-09-26 22:49:14 +08:00
46 lines
985 B
JSON
46 lines
985 B
JSON
{
|
|
"name": "Pull Request Check",
|
|
"on": [
|
|
"pull_request"
|
|
],
|
|
"jobs": {
|
|
"check": {
|
|
"runs-on": "ubuntu-latest",
|
|
"steps": [
|
|
{
|
|
"uses": "actions/checkout@v3",
|
|
"with": {
|
|
"ref": "${{ github.event.pull_request.head.sha }}"
|
|
}
|
|
},
|
|
{
|
|
"name": "Install dependencies",
|
|
"uses": "pnpm/action-setup@v4",
|
|
"with": {
|
|
"run_install": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Type check",
|
|
"run": "pnpm run type"
|
|
},
|
|
{
|
|
"name": "ESLint check",
|
|
"run": "pnpm run lint-check"
|
|
},
|
|
{
|
|
"name": "Build core",
|
|
"run": "pnpm run build-core"
|
|
},
|
|
{
|
|
"name": "Build features",
|
|
"run": "cd registry\npnpm install\ncd ../\npnpm run build-features\n"
|
|
},
|
|
{
|
|
"name": "Log",
|
|
"run": "echo Check complete."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |