chore(deps): update dependency @types/node to v22.9.1 #306
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: Build | |
permissions: read-all | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
paths: | |
- 'src/**' | |
- 'generate/**' | |
- '**gradle**' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'generate/**' | |
- '**gradle**' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
jobs: | |
build: | |
name: Build Plugin | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- name: Install Deps | |
run: pnpm install | |
- name: Generate Icons | |
run: pnpm build | |
- name: Check Formatting | |
run: ./gradlew checkFormatting | |
- name: Run Static Analysis | |
run: ./gradlew runStaticAnalysis | |
continue-on-error: true | |
- name: Test & Build Plugin | |
run: ./gradlew buildPlugin | |
- name: Upload JAR(s) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "Catppuccin Icons" | |
path: build/libs/*.jar | |
- name: Output Unreleased Changes | |
run: | | |
echo "# 🚧 Unreleased 🚧" >> $GITHUB_STEP_SUMMARY | |
echo "$(./gradlew getChangelog --unreleased --no-header --console=plain -q)" >> $GITHUB_STEP_SUMMARY |