fix: 잘못된 경로명을 고쳐 build 에러를 수정합니다. #12
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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
qodana: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
checks: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
# Install pnpm | |
- name: Install pnpm | |
run: | | |
curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm | |
# Cache pnpm modules | |
- name: Cache pnpm modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm- | |
# Install dependencies with pnpm | |
- name: Install dependencies | |
run: pnpm install | |
# Run Qodana Scan | |
- name: 'Qodana Scan' | |
uses: JetBrains/qodana-action@v2024.1 | |
with: | |
config: ../../qodana.yaml # Use the configuration file | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} |