Skip to content

Commit

Permalink
[ui] Add support for Node.js 18-20 and drop 14-16
Browse files Browse the repository at this point in the history
Drops the support for unmantained versions 14 to 16
and adds versions 18 to 20 of Node.js.

Signed-off-by: Eva Millán <evamillan@bitergia.com>
  • Loading branch information
evamillan committed Feb 20, 2024
1 parent aaf76af commit d081e84
Show file tree
Hide file tree
Showing 9 changed files with 3,444 additions and 3,659 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # 3.3.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 4.0.0
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # 3.6.0
with:
Expand All @@ -41,7 +41,7 @@ jobs:
needs: [build-package]
environment: docker-release
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # 3.3.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 4.0.0

- name: Download distribution artifact
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 4.0.0
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # 3.6.0
with:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
python-version: [3.8, 3.9]

steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 4.0.0

- name: Download distribution artifact
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Python ${{ matrix.python-version }}
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 4.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
Expand Down Expand Up @@ -62,12 +62,12 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x, 20.x]

runs-on: ubuntu-latest
name: Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 4.0.0
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -95,14 +95,14 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x, 20.x]
python-version: [3.8, 3.9]

runs-on: ubuntu-latest
name: Node ${{ matrix.node-version }} Python ${{ matrix.python-version }}
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 4.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
Expand Down
7 changes: 3 additions & 4 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"fibers": "^5.0.0",
"jest": "^27.1.0",
"jest-vue-preprocessor": "^1.7.1",
"prettier": "^2.4.1",
"sass": "^1.26.5",
"sass-loader": "^10.2.0",
"sass": "1.26.5",
"sass-loader": "^10.4.1",
"vue-cli-plugin-vuetify": "~2.5.8",
"vue-loader": "^15.10.1",
"vue-template-compiler": "^2.7.14",
Expand All @@ -75,6 +74,6 @@
"@vue/cli-service/cli-highlight/mz/thenify-all/thenify": "3.3.1"
},
"engines": {
"node": ">=14 <=16"
"node": ">=18 <=20"
}
}
24 changes: 22 additions & 2 deletions ui/tests/unit/__snapshots__/mutations.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ exports[`IndividualsTable Mock query for deleteIdentity 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object],[object Object]"
Expand All @@ -151,6 +152,7 @@ exports[`IndividualsTable Mock query for deleteIdentity 1`] = `
itemkey="uuid"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loadingtext="$vuetify.dataIterator.loadingText"
locale="en-US"
Expand Down Expand Up @@ -442,6 +444,7 @@ exports[`IndividualsTable Mock query for merge 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object],[object Object]"
Expand All @@ -451,6 +454,7 @@ exports[`IndividualsTable Mock query for merge 1`] = `
itemkey="uuid"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loadingtext="$vuetify.dataIterator.loadingText"
locale="en-US"
Expand Down Expand Up @@ -742,6 +746,7 @@ exports[`IndividualsTable Mock query for moveIdentity 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object],[object Object]"
Expand All @@ -751,6 +756,7 @@ exports[`IndividualsTable Mock query for moveIdentity 1`] = `
itemkey="uuid"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loadingtext="$vuetify.dataIterator.loadingText"
locale="en-US"
Expand Down Expand Up @@ -1042,6 +1048,7 @@ exports[`IndividualsTable Mock query for unmerge 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object],[object Object]"
Expand All @@ -1051,6 +1058,7 @@ exports[`IndividualsTable Mock query for unmerge 1`] = `
itemkey="uuid"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loadingtext="$vuetify.dataIterator.loadingText"
locale="en-US"
Expand Down Expand Up @@ -1342,6 +1350,7 @@ exports[`IndividualsTable Mock query for updateEnrollment 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object],[object Object]"
Expand All @@ -1351,6 +1360,7 @@ exports[`IndividualsTable Mock query for updateEnrollment 1`] = `
itemkey="uuid"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loadingtext="$vuetify.dataIterator.loadingText"
locale="en-US"
Expand Down Expand Up @@ -1642,6 +1652,7 @@ exports[`IndividualsTable Mock query for withdraw 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object],[object Object]"
Expand All @@ -1651,6 +1662,7 @@ exports[`IndividualsTable Mock query for withdraw 1`] = `
itemkey="uuid"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loadingtext="$vuetify.dataIterator.loadingText"
locale="en-US"
Expand Down Expand Up @@ -2022,6 +2034,7 @@ exports[`OrganizationsTable Mock mutation for addDomain 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object]"
Expand All @@ -2031,6 +2044,7 @@ exports[`OrganizationsTable Mock mutation for addDomain 1`] = `
itemkey="id"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loading="true"
loadingtext="$vuetify.dataIterator.loadingText"
Expand Down Expand Up @@ -2221,6 +2235,7 @@ exports[`OrganizationsTable Mock mutation for addOrganization 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object]"
Expand All @@ -2230,6 +2245,7 @@ exports[`OrganizationsTable Mock mutation for addOrganization 1`] = `
itemkey="id"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loading="true"
loadingtext="$vuetify.dataIterator.loadingText"
Expand Down Expand Up @@ -2420,6 +2436,7 @@ exports[`OrganizationsTable Mock mutation for deleteDomain 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object]"
Expand All @@ -2429,6 +2446,7 @@ exports[`OrganizationsTable Mock mutation for deleteDomain 1`] = `
itemkey="id"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loading="true"
loadingtext="$vuetify.dataIterator.loadingText"
Expand Down Expand Up @@ -2619,6 +2637,7 @@ exports[`OrganizationsTable Mock mutation for deleteOrganization 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object]"
Expand All @@ -2628,6 +2647,7 @@ exports[`OrganizationsTable Mock mutation for deleteOrganization 1`] = `
itemkey="id"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loading="true"
loadingtext="$vuetify.dataIterator.loadingText"
Expand Down Expand Up @@ -2818,6 +2838,7 @@ exports[`OrganizationsTable Mock mutation for enroll 1`] = `
customsort="[Function]"
expanded=""
expandicon="$expand"
filtermode="intersection"
groupby=""
groupdesc=""
headers="[object Object],[object Object],[object Object]"
Expand All @@ -2827,6 +2848,7 @@ exports[`OrganizationsTable Mock mutation for enroll 1`] = `
itemkey="id"
items=""
itemsperpage="10"
itemstyle=""
loaderheight="4"
loading="true"
loadingtext="$vuetify.dataIterator.loadingText"
Expand Down Expand Up @@ -3104,7 +3126,6 @@ exports[`ProfileModal Mock mutation for addIdentity 1`] = `
tag="div"
>
<v-combobox-stub
allowoverflow="true"
appendicon="$dropdown"
backgroundcolor=""
clearicon="$clear"
Expand Down Expand Up @@ -3449,7 +3470,6 @@ exports[`ProfileModal Mock mutation for updateProfile 1`] = `
tag="div"
>
<v-combobox-stub
allowoverflow="true"
appendicon="$dropdown"
backgroundcolor=""
clearicon="$clear"
Expand Down
Loading

0 comments on commit d081e84

Please sign in to comment.