mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
29 lines
678 B
YAML
29 lines
678 B
YAML
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
|
|
pnpm install
|
|
cd ../
|
|
pnpm run build-features
|
|
- name: Log
|
|
run: echo Check complete.
|