Skip to content

Commit 069b927

Browse files
committed
ci: prepare node repl runtime before plugin build
1 parent 26f80a4 commit 069b927

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,23 @@ jobs:
7979
echo "$CHANGELOG" >> $GITHUB_OUTPUT
8080
echo "EOF" >> $GITHUB_OUTPUT
8181
82+
- name: Fix Kotlin JS lock
83+
run: ./gradlew kotlinUpgradePackageLock || echo "Kotlin JS lock upgrade failed, continuing..."
84+
85+
- name: Prepare Node REPL runtime
86+
working-directory: mpp-ui
87+
env:
88+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
89+
npm_config_audit: false
90+
npm_config_fund: false
91+
run: |
92+
npm run build:kotlin
93+
npm install --ignore-scripts
94+
npm run build:kotlin-deps
95+
npm run build:ts
96+
npm run prepare:node-runtime
97+
npm run prepare:node-modules
98+
8299
# Build plugin
83100
- name: Build plugin
84101
run: ./gradlew :mpp-idea:buildPlugin

0 commit comments

Comments
 (0)