Skip to content

Commit

Permalink
ci: fix node 16 builds (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous authored Nov 26, 2024
1 parent 90ba912 commit f234661
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@
"@testing-library/user-event": "^14.5.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitest/coverage-v8": "^2.0.2",
"@vitest/coverage-v8": "^1.0.0 || ^2.0.2",
"all-contributors-cli": "^6.26.1",
"doctoc": "^2.2.1",
"esbuild": "*",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
Expand All @@ -123,10 +124,10 @@
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.5",
"svelte": "^3 || ^4 || ^5 || ^5.0.0-next.0",
"svelte-check": "^4.0.4",
"svelte-check": "^3.0.0 || ^4.0.4",
"svelte-jester": "^5.0.0",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vitest": "^2.0.2"
"vite": "^4.0.0 || ^5.3.3",
"vitest": "^1.0.0 || ^2.0.2"
}
}
9 changes: 8 additions & 1 deletion scripts/install-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@ elif [[ "${svelte_version}" == "3" ]]; then
npm install --no-save vite@4 vitest@1 @vitest/coverage-v8@1 @sveltejs/vite-plugin-svelte@2 svelte-check@3 svelte@3
fi

npm ls --depth=0 svelte
npm dedupe
installed_version=$(npm ls --depth=0 --parseable svelte@${svelte_version})

if [[ -z "${installed_version}" ]]; then
echo "Error: expected svelte@${svelte_version}"
npm ls --depth=0 svelte
exit 1
fi

0 comments on commit f234661

Please sign in to comment.