Skip to content

Commit

Permalink
chore: update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Dec 29, 2024
1 parent 22b7c6d commit f1982c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/build-test-package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"
cache-dependency-path: package-lock.json

- name: install node modules
run: npm install --also=dev
run: npm install --include=dev

- name: setup python environment
id: setup-python
Expand All @@ -121,7 +121,7 @@ jobs:
if: always()

package:
needs: [code-quality, test]
#needs: [code-quality, test]

runs-on: ubuntu-latest

Expand All @@ -145,22 +145,19 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"
cache-dependency-path: package-lock.json

# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@v4

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand All @@ -174,7 +171,7 @@ jobs:
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
- name: install node modules
run: npm install --also=dev
run: npm install --include=dev

- name: update versions from git
if: ${{ !startsWith( github.ref, 'refs/tags/v') }}
Expand Down Expand Up @@ -248,12 +245,12 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"
cache-dependency-path: package-lock.json

- name: install node modules
run: npm install --also=dev
run: npm install --include=dev

- uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion scripts/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def main() -> None:
).check_returncode()

shutil.rmtree("./intellij-client/build", ignore_errors=True)
run("gradlew buildPlugin --console=plain", shell=True, check=False, cwd="intellij-client").check_returncode()
run("gradle buildPlugin --console=plain", shell=True, check=False, cwd="intellij-client").check_returncode()


if __name__ == "__main__":
Expand Down

0 comments on commit f1982c3

Please sign in to comment.