Skip to content

More fixes

More fixes #6

name: Qodana
on:
workflow_dispatch:
pull_request:
push:
branches:
- "dev"
jobs:
install-dependencies:
- name: Setup pnpm

Check failure on line 11 in .github/workflows/qodana_code_quality.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/qodana_code_quality.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
uses: pnpm/action-setup@v4
with:
version: ^9.4.0
run_install: false
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 20.*
cache: 'pnpm'
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install --frozen-lockfile
qodana:
runs-on: ubuntu-latest
needs: install-dependencies
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with:
args: --baseline,qodana.sarif.json