Skip to content

Commit

Permalink
ELEMENTS-1706: nodejs upgrade - rebase into lts2023 from lts2021
Browse files Browse the repository at this point in the history
  • Loading branch information
poonamyadav252 committed Jan 11, 2024
1 parent a799c53 commit f07c9bc
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
inputs: |
branch_name: ${{ env.BRANCH_NAME }}
sauce_labs: true
skip_ftests: false
skip_ftests: true
skip_a11y: false
skip_unit_tests: false
generate_metrics: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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'

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/storybook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -45,12 +45,15 @@ jobs:

- name: Build storybook
working-directory: storybook
env:
NODE_OPTIONS: --openssl-legacy-provider
run: |
npx build-storybook -o dist -s ./public
- name: Deploy
if: ${{ env.BRANCH_NAME == 'maintenance-3.1.x' }}
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: --openssl-legacy-provider
working-directory: storybook
run: npm run deploy -- --ci
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module.exports = (config) => {

config.set({
sauceLabs,
hostname: '127.0.0.1',
basePath: '',
singleRun: true,
browsers: config.browsers && config.browsers.length > 0 ? config.browsers : Object.keys(customLaunchers),
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Nuxeo",
"license": "Apache-2.0",
"engines": {
"node": ">=14.0.0"
"node": ">=18.0.0"
},
"scripts": {
"postinstall": "check-engine --ignore",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f07c9bc

Please sign in to comment.