Skip to content

Merge pull request #3 from movie-connect/dependabot/npm_and_yarn/ejs-… #8

Merge pull request #3 from movie-connect/dependabot/npm_and_yarn/ejs-…

Merge pull request #3 from movie-connect/dependabot/npm_and_yarn/ejs-… #8

Workflow file for this run

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 }}