mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 03:59:12 +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
|
||||
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
|
||||
|
||||
5
.github/workflows/playwright-mysql-e2e.yml
vendored
5
.github/workflows/playwright-mysql-e2e.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
@ -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: |
|
||||
|
||||
10
.github/workflows/yarn-coverage.yml
vendored
10
.github/workflows/yarn-coverage.yml
vendored
@ -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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user