feat: 更新 package.json 以使用 pnpm 作为包管理器,优化登录组件和用户地图功能 #82
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v4 | |
- name: 📦 Install dependencies | |
run: pnpm install | |
# - name: 🌈 typecheck | |
# run: pnpm typecheck | |
- name: 📝 Lint | |
run: pnpm lint:fix | |
- name: 🍥 Build | |
run: pnpm build |