From cb49cb79fc6b6c74d14b443d1d4a1a9c789709a0 Mon Sep 17 00:00:00 2001 From: poonam yadav Date: Fri, 27 Oct 2023 14:43:01 +0530 Subject: [PATCH] ELEMENTS-1685: update initial packages for the node 18 upgrade --- .github/workflows/lint.yaml | 2 +- .github/workflows/main.yaml | 2 +- .github/workflows/preview.yaml | 2 +- .github/workflows/promote.yaml | 2 +- .github/workflows/storybook.yaml | 4 +++- .github/workflows/test.yaml | 2 +- package.json | 3 ++- 7 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 36fbbddb1d..a1a801276a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -29,7 +29,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: 'https://packages.nuxeo.com/repository/npm-public/' scope: '@nuxeo' diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 93677aac14..f1ad56f390 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -41,7 +41,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: 'https://packages.nuxeo.com/repository/npm-public/' scope: '@nuxeo' diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 06e1d919e0..de5dc22d7a 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: 'https://packages.nuxeo.com/repository/npm-public/' scope: '@nuxeo' diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml index 41c8ed0d62..90b9cf32cf 100644 --- a/.github/workflows/promote.yaml +++ b/.github/workflows/promote.yaml @@ -25,7 +25,7 @@ jobs: steps: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: 'https://packages.nuxeo.com/repository/npm-public/' scope: '@nuxeo' diff --git a/.github/workflows/storybook.yaml b/.github/workflows/storybook.yaml index 7e7b360134..c3d8964f3f 100644 --- a/.github/workflows/storybook.yaml +++ b/.github/workflows/storybook.yaml @@ -29,7 +29,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: 'https://packages.nuxeo.com/repository/npm-public/' scope: '@nuxeo' @@ -45,6 +45,8 @@ jobs: - name: Build storybook working-directory: storybook + env: + NODE_OPTIONS: --openssl-legacy-provider run: | npx build-storybook -o dist -s ./public diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1cf3d0daee..0dbc53c81c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -32,7 +32,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: 'https://packages.nuxeo.com/repository/npm-public/' scope: '@nuxeo' diff --git a/package.json b/package.json index f3c94a02c9..32452d438d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": "Nuxeo", "license": "Apache-2.0", "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "postinstall": "check-engine --ignore", @@ -84,6 +84,7 @@ "dependencies": { "@nuxeo/moment": "^2.24.0-nx.0", "@nuxeo/paper-typeahead": "^0.6.0-nx.0", + "@nuxeo/testing-helpers": "^3.0.17", "@polymer/iron-autogrow-textarea": "^3.0.1", "@polymer/iron-collapse": "^3.0.0", "@polymer/iron-flex-layout": "^3.0.0",