[ADF-5509] Migrate to Node 18 (#8531)

* generate lock file

* gha: use node 18

* upgrade lock file and remove old migrations cache

* use npx instead of sudo link for nx commands

* fix dependencies

* migrate commands to node 18

* fix dependencies

* try building storybook sequentially

* fix affected libs

* disable failing test
This commit is contained in:
Denys Vuika
2023-05-04 22:51:19 +01:00
committed by GitHub
parent 42a2a3cd1f
commit 94c23171db
14 changed files with 42275 additions and 31930 deletions

View File

@@ -26,8 +26,8 @@ if [ ${AFFECTED_LIB} == true ]; then
if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]; then
echo "Calculate affected e2e $BASE_HASH $HEAD_HASH"
echo "nx affected:libs --base=$BASE_HASH --head=$HEAD_HASH --plain"
AFFECTED_LIBS="$(nx affected:libs --base=$BASE_HASH --head=$HEAD_HASH --plain || exit 1)"
echo "npx nx affected:libs --base=$BASE_HASH --head=$HEAD_HASH --plain"
AFFECTED_LIBS="$(npx nx affected:libs --base=$BASE_HASH --head=$HEAD_HASH --plain || exit 1)"
echo "Affected libs ${AFFECTED_LIBS}"
AFFECTED_E2E="$(./scripts/git-util/affected-folder.sh -b $GITHUB_BASE_REF -f "e2e/$FOLDER")";
echo "Affected e2e ${AFFECTED_E2E}"