diff --git a/.github/workflows/mysql-nightly-e2e.yml b/.github/workflows/mysql-nightly-e2e.yml index 5ddcf8daf61..e46894ff3f4 100644 --- a/.github/workflows/mysql-nightly-e2e.yml +++ b/.github/workflows/mysql-nightly-e2e.yml @@ -163,7 +163,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 18.19.0 + node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc' - name: Download blob reports from GitHub Actions Artifacts uses: actions/download-artifact@v4 diff --git a/.github/workflows/playwright-mysql-e2e.yml b/.github/workflows/playwright-mysql-e2e.yml index cb4fb41612e..e502a082b9b 100644 --- a/.github/workflows/playwright-mysql-e2e.yml +++ b/.github/workflows/playwright-mysql-e2e.yml @@ -96,6 +96,11 @@ jobs: args: "-d mysql" ingestion_dependency: "playwright" + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc' + - name: Install dependencies working-directory: openmetadata-ui/src/main/resources/ui/ run: yarn --ignore-scripts --frozen-lockfile diff --git a/.github/workflows/playwright-postgresql-e2e.yml b/.github/workflows/playwright-postgresql-e2e.yml index 49643f0cd69..3d79955ed92 100644 --- a/.github/workflows/playwright-postgresql-e2e.yml +++ b/.github/workflows/playwright-postgresql-e2e.yml @@ -96,6 +96,11 @@ jobs: args: "-d postgresql" ingestion_dependency: "playwright" + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc' + - name: Install dependencies working-directory: openmetadata-ui/src/main/resources/ui/ run: yarn --ignore-scripts --frozen-lockfile diff --git a/.github/workflows/postgresql-nightly-e2e.yml b/.github/workflows/postgresql-nightly-e2e.yml index 451c2800c97..a0d5432c25e 100644 --- a/.github/workflows/postgresql-nightly-e2e.yml +++ b/.github/workflows/postgresql-nightly-e2e.yml @@ -163,7 +163,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 18.19.0 + node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc' - name: Download blob reports from GitHub Actions Artifacts uses: actions/download-artifact@v4 diff --git a/.github/workflows/typescript-type-generation.yml b/.github/workflows/typescript-type-generation.yml index 73f2588e6d4..40af1f2e4cb 100644 --- a/.github/workflows/typescript-type-generation.yml +++ b/.github/workflows/typescript-type-generation.yml @@ -44,7 +44,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: "18" + node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc' - name: Install dependencies run: | diff --git a/.github/workflows/yarn-coverage.yml b/.github/workflows/yarn-coverage.yml index 56145a69df6..605c82d9940 100644 --- a/.github/workflows/yarn-coverage.yml +++ b/.github/workflows/yarn-coverage.yml @@ -21,9 +21,6 @@ concurrency: cancel-in-progress: true jobs: ui-coverage-tests: - strategy: - matrix: - node-version: [18.x] runs-on: ubuntu-latest if: ${{ !github.event.pull_request.draft }} steps: @@ -78,11 +75,10 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - name: Use Node.js ${{ matrix.node-version }} - if: steps.npm-cache.outputs.exit-code == 0 - uses: actions/setup-node@v3 + - name: Setup Node.js + uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc' - name: Install Antlr4 CLI run: |