mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-07 05:53:46 +00:00
Use .nvmrc in github workflows (#23071)
Co-authored-by: Satish <satish@Satishs-MacBook-Pro.local>
This commit is contained in:
parent
9b2222fa4d
commit
bc7c3499fc
2
.github/workflows/mysql-nightly-e2e.yml
vendored
2
.github/workflows/mysql-nightly-e2e.yml
vendored
@ -163,7 +163,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.19.0
|
node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc'
|
||||||
|
|
||||||
- name: Download blob reports from GitHub Actions Artifacts
|
- name: Download blob reports from GitHub Actions Artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|||||||
5
.github/workflows/playwright-mysql-e2e.yml
vendored
5
.github/workflows/playwright-mysql-e2e.yml
vendored
@ -96,6 +96,11 @@ jobs:
|
|||||||
args: "-d mysql"
|
args: "-d mysql"
|
||||||
ingestion_dependency: "playwright"
|
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
|
- name: Install dependencies
|
||||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||||
run: yarn --ignore-scripts --frozen-lockfile
|
run: yarn --ignore-scripts --frozen-lockfile
|
||||||
|
|||||||
@ -96,6 +96,11 @@ jobs:
|
|||||||
args: "-d postgresql"
|
args: "-d postgresql"
|
||||||
ingestion_dependency: "playwright"
|
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
|
- name: Install dependencies
|
||||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||||
run: yarn --ignore-scripts --frozen-lockfile
|
run: yarn --ignore-scripts --frozen-lockfile
|
||||||
|
|||||||
2
.github/workflows/postgresql-nightly-e2e.yml
vendored
2
.github/workflows/postgresql-nightly-e2e.yml
vendored
@ -163,7 +163,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.19.0
|
node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc'
|
||||||
|
|
||||||
- name: Download blob reports from GitHub Actions Artifacts
|
- name: Download blob reports from GitHub Actions Artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|||||||
@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
10
.github/workflows/yarn-coverage.yml
vendored
10
.github/workflows/yarn-coverage.yml
vendored
@ -21,9 +21,6 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
ui-coverage-tests:
|
ui-coverage-tests:
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [18.x]
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ !github.event.pull_request.draft }}
|
if: ${{ !github.event.pull_request.draft }}
|
||||||
steps:
|
steps:
|
||||||
@ -78,11 +75,10 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Setup Node.js
|
||||||
if: steps.npm-cache.outputs.exit-code == 0
|
uses: actions/setup-node@v4
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version-file: 'openmetadata-ui/src/main/resources/ui/.nvmrc'
|
||||||
|
|
||||||
- name: Install Antlr4 CLI
|
- name: Install Antlr4 CLI
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user