fix:修复了换行不显示的问题 #30
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: | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Cache | |
id: cache-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
**/node_modules | |
.pnpm-store | |
key: ${{ runner.OS }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
- name: Install Dependencies | |
run: pnpm install --no-frozen-lockfile | |
- name: Running Lint | |
run: pnpm lint |