@@ -20,7 +20,7 @@ concurrency:
2020
2121env :
2222 REPORTS_DIR : CI_reports
23- NODE_ACTIVE_LTS : " 20 " # https://nodejs.org/en/about/releases/
23+ NODE_ACTIVE_LTS : " 22 " # https://nodejs.org/en/about/releases/
2424 TESTS_REPORTS_ARTIFACT : tests-reports
2525
2626jobs :
@@ -83,12 +83,10 @@ jobs:
8383 node-version :
8484 # action based on https://github.com/actions/node-versions/releases
8585 # see also: https://nodejs.org/en/about/previous-releases
86- - " 22.4" # current -- pinned for https://github.com/npm/cli/issues/7666
87- - " 20" # active LTS
88- - " 18"
89- - ' 16'
90- - " 14"
91- - " 14.0.0" # lowest supported
86+ - " 23" # current
87+ - " 22" # active LTS
88+ - " 20"
89+ - " 20.18.0" # lowest supported
9290 steps :
9391 - name : Checkout
9492 # see https://github.com/actions/checkout
@@ -114,25 +112,7 @@ jobs:
114112 shell : bash
115113 run : |
116114 set -ex
117- dep_constraints=''
118115 dev_requirements='c8 jest jest-junit imurmurhash fast-glob'
119- # as long as npm cannot auto-resolve engine-constraints, we need to help here
120- case '${{ matrix.node-version }}' in
121- '14')
122- dep_constraints='normalize-package-data@^5'
123- ;;
124- '14.0.0')
125- dep_constraints='normalize-package-data@^3'
126- dev_requirements='c8@^8 jest@^26 jest-junit imurmurhash fast-glob'
127- # cannot run snapshot-compare with old versions ...
128- rm -rf tests/integration/__snapshots__/
129- ;;
130- esac
131- ## !! dont install all the dev-packages, especially since some are not runnable on node 14.0.0
132- if [[ -n "$dep_constraints" ]]
133- then
134- npm add --ignore-scripts --omit=peer --omit=dev --only=prod --production --loglevel=silly --save $dep_constraints
135- fi
136116 npm i --ignore-scripts --omit=peer --omit=dev --only=prod --production --loglevel=silly
137117 ## rebuild deps for which scripts were ignored, or partially installed - since "ignore-scripts" was used
138118 npm rebuild --loglevel=silly libxmljs2 || npm uninstall --no-save libxmljs2 || true
0 commit comments