♻️ 重构帖子页面的代码逻辑 #563
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: Qodana | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
qodana: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22.0.0 | |
- name: setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 9.9.0 | |
- name: remove lockfile | |
run: rm -f pnpm-lock.yaml | |
- name: Install dependencies | |
run: pnpm install | |
- name: "Qodana Scan" | |
uses: JetBrains/[email protected] | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} |