diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index b1125ce481..28487e19e3 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -58,6 +58,7 @@ jobs: node-version: 16 - name: Compile and Build run: | - npm install - npm run lint - npm run build:prod + npm install pnpm -g + pnpm install + pnpm run lint + pnpm run build:prod diff --git a/dolphinscheduler-ui-next/pom.xml b/dolphinscheduler-ui-next/pom.xml index 3775cd9585..849189a20d 100644 --- a/dolphinscheduler-ui-next/pom.xml +++ b/dolphinscheduler-ui-next/pom.xml @@ -30,7 +30,7 @@ v16.13.1 - 8.1.2 + v6.32.6 src @@ -45,19 +45,19 @@ ${frontend-maven-plugin.version} - install node and npm + install node and pnpm - install-node-and-npm + install-node-and-pnpm ${node.version} - ${npm.version} + ${pnpm.version} - npm install + pnpm install - npm + pnpm generate-resources @@ -65,9 +65,9 @@ - npm run build:prod + pnpm run build:prod - npm + pnpm run build:prod diff --git a/pom.xml b/pom.xml index 8d3d95f5ca..bffe995cc8 100644 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,7 @@ 3.1.12 3.1.2 2.12.0 - 1.6 + 1.12.1 3.3 3.3.0 2.5.3