Skip to content

💄 优化代码

💄 优化代码 #508

name: Qodana
on:
push:
branches:
- master
jobs:
qodana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
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.1.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 }}