chore(intellij): migrate away from internal API for status bar widget… #1180
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: Test IntelliJ plugin | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "integrations/intellij/**" | |
- ".github/workflows/test-intellij.yaml" | |
pull_request: | |
branches: | |
- "*" | |
paths: | |
- "integrations/intellij/**" | |
- ".github/workflows/test-intellij.yaml" | |
jobs: | |
intellij-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18.x] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: "temurin" | |
java-version: "11" | |
- name: Cache pnpm modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-exclude-test-apps-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-exclude-test-apps- | |
- uses: pnpm/[email protected] | |
with: | |
run_install: | | |
- args: [--filter=\!./framework-plugins/\*/tests/apps/\*] | |
- run: cd integrations/intellij && ./gradlew ktlintCheck | |
- run: cd integrations/intellij && ./gradlew runPluginVerifier | |
- run: cd integrations/intellij && ./gradlew buildPlugin |