Skip to content

Commit f1982c3

Browse files
committed
chore: update github workflow
1 parent 22b7c6d commit f1982c3

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ jobs:
9898
- name: Setup Node.js environment
9999
uses: actions/setup-node@v4
100100
with:
101-
node-version: "18"
101+
node-version: "20"
102102
cache: "npm"
103103
cache-dependency-path: package-lock.json
104104

105105
- name: install node modules
106-
run: npm install --also=dev
106+
run: npm install --include=dev
107107

108108
- name: setup python environment
109109
id: setup-python
@@ -121,7 +121,7 @@ jobs:
121121
if: always()
122122

123123
package:
124-
needs: [code-quality, test]
124+
#needs: [code-quality, test]
125125

126126
runs-on: ubuntu-latest
127127

@@ -145,22 +145,19 @@ jobs:
145145
- name: Setup Node.js environment
146146
uses: actions/setup-node@v4
147147
with:
148-
node-version: "18"
148+
node-version: "20"
149149
cache: "npm"
150150
cache-dependency-path: package-lock.json
151151

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

156-
# Set up Java environment for the next steps
157155
- name: Setup Java
158156
uses: actions/setup-java@v4
159157
with:
160158
distribution: zulu
161159
java-version: 21
162160

163-
# Setup Gradle
164161
- name: Setup Gradle
165162
uses: gradle/actions/setup-gradle@v4
166163
with:
@@ -174,7 +171,7 @@ jobs:
174171
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
175172
176173
- name: install node modules
177-
run: npm install --also=dev
174+
run: npm install --include=dev
178175

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

255252
- name: install node modules
256-
run: npm install --also=dev
253+
run: npm install --include=dev
257254

258255
- uses: actions/download-artifact@v4
259256
with:

scripts/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main() -> None:
5959
).check_returncode()
6060

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

6464

6565
if __name__ == "__main__":

0 commit comments

Comments
 (0)