-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Svelte: Add scripts for ecosystem CI #32564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7835c12
add svelte-ecosystem-ci script
JReinhold 142c7f5
fix path typo
JReinhold 4432d7b
use build mode for test runner instead
JReinhold f66da1a
try no-link mode
JReinhold 4733ea2
try building @storybook/svelte separately
JReinhold 31f99af
install deps first 🤦
JReinhold 9dd0cd4
don't run test-runner twice 🤦
JReinhold 60a567c
skip nx remote cache for compilation
JReinhold File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,20 +3,23 @@ | |
| "scripts": { | ||
| "ci-tests": "cd code; yarn ci-tests", | ||
| "get-report-message": "cd scripts; yarn get-report-message", | ||
| "get-template": "cd scripts; yarn get-template", | ||
| "get-sandbox-dir": "cd scripts; yarn get-sandbox-dir", | ||
| "get-template": "cd scripts; yarn get-template", | ||
| "i": "yarn --cwd scripts && yarn --cwd code", | ||
| "knip": "cd code; yarn knip", | ||
| "lint": "cd code; yarn lint", | ||
| "nx": "cd code; yarn nx", | ||
| "pretty-docs": "cd scripts; yarn install >/dev/null; yarn docs:prettier:write", | ||
| "start": "yarn task --task dev --template react-vite/default-ts --start-from=install", | ||
| "svelte-ecosystem-ci:before-test": "node ./scripts/ecosystem-ci/before-test.js svelte-kit/skeleton-ts && cd ./sandbox/svelte-kit-skeleton-ts && yarn install", | ||
| "svelte-ecosystem-ci:build": "yarn task --task install && yarn --cwd code build svelte && yarn task --task sandbox --template svelte-kit/skeleton-ts --start-from=compile --no-link --skip-cache", | ||
JReinhold marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "svelte-ecosystem-ci:test": "yarn task --task test-runner --template svelte-kit/skeleton-ts --start-from=build --no-link --skip-cache && yarn task --task vitest-integration --template svelte-kit/skeleton-ts --start-from vitest-integration --no-link --skip-cache", | ||
| "task": "echo 'Installing Script Dependencies...'; cd scripts; yarn install >/dev/null; cd ..; yarn --cwd=./scripts task", | ||
| "test": "cd code; yarn test", | ||
| "test:watch": "cd code; yarn test:watch", | ||
| "upload-bench": "cd scripts; yarn upload-bench", | ||
| "vite-ecosystem-ci:before-test": "node ./scripts/vite-ecosystem-ci/before-test.js && cd ./sandbox/react-vite-default-ts && yarn install", | ||
| "vite-ecosystem-ci:build": "yarn task --task sandbox --template react-vite/default-ts --start-from=install", | ||
| "vite-ecosystem-ci:before-test": "node ./scripts/ecosystem-ci/before-test.js react-vite/default-ts && cd ./sandbox/react-vite-default-ts && yarn install", | ||
JReinhold marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "vite-ecosystem-ci:build": "yarn task --task sandbox --template react-vite/default-ts --start-from=install --skip-cache", | ||
| "vite-ecosystem-ci:test": "yarn task --task test-runner-dev --template react-vite/default-ts --start-from=dev && yarn task --task test-runner --template react-vite/default-ts --start-from=build && yarn task --task vitest-integration --template react-vite/default-ts --start-from vitest-integration" | ||
| }, | ||
| "packageManager": "[email protected]", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.