refactor: 使用vue3组合式API重构登录页代码 #46
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: Web Lint | |
on: | |
push: | |
branches: | |
- main | |
- releases/** | |
paths: | |
- web/** | |
pull_request: | |
branches: | |
- develop | |
- main | |
- releases/** | |
- feature/** | |
paths: | |
- web/** | |
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 web && npm install | |
- name: Type-Check | |
run: cd web && npm run type-check | |
- name: Lint | |
run: cd web && npm run lint | |
- name: Format | |
run: cd web && npm run format |