fix: 断点续答and编辑检测代码cr优化 #129
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lint | |
name: Server Lint | |
on: | |
push: | |
branches: | |
- main | |
- releases/** | |
paths: | |
- server/** | |
pull_request: | |
branches: | |
- develop | |
- main | |
- releases/** | |
- feature/** | |
paths: | |
- server/** | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: cd server && npm install | |
- name: Lint | |
run: cd server && npm run lint |