fix(cli): explicitly set the version so --version
works
#33309
ci.yml
on: pull_request
🔍 Detect changes
8s
📝 Check formatting (prettier)
1m 35s
✅ Check constraints, dependencies, and package.json's
1m 12s
✅ Check constraints, dependencies, and package.json's
0s
🌲 Tutorial E2E / node 20 latest
0s
🌲 Create Redwood App
0s
Server tests
0s
Matrix: background-jobs-e2e-skip
Matrix: build-lint-test-skip
Matrix: cli-smoke-tests-skip
Matrix: fragments-smoke-tests-skip
Matrix: rsc-smoke-tests-skip
Matrix: smoke-tests-react-18-skip
Matrix: smoke-tests-skip
Matrix: ssr-smoke-tests-skip
Matrix: telemetry-check-skip
Matrix: rsc-smoke-tests
Matrix: ssr-smoke-tests
🌲 Tutorial E2E / node 20 latest
4m 2s
🌲 Create Redwood App
2m 26s
Server tests
2m 4s
Matrix: background-jobs-e2e
Matrix: build-lint-test
Matrix: cli-smoke-tests
Matrix: fragments-smoke-tests
Matrix: smoke-tests-react-18
Matrix: smoke-tests
Matrix: telemetry-check
Annotations
5 errors
bothServer.test.mts > rw serve > has help configured:
tasks/server-tests/bothServer.test.mts#L9
Error: Snapshot `rw serve > has help configured 1` mismatched
- Expected
+ Received
@@ -6,18 +6,18 @@
rw serve Start a server for serving the api and web sides [default]
rw serve api Start a server for serving the api side
rw serve web Start a server for serving the web side
Options:
- --version Show version number [boolean]
--cwd Working directory to use (where
`redwood.toml` is located)
--load-env-files Load additional .env files. Values
defined in files specified later
override earlier ones. [array]
--telemetry Whether to send anonymous usage
telemetry to RedwoodJS [boolean]
+ --version Show version number [boolean]
--webPort, --web-port The port for the web server to
listen on [number]
--webHost, --web-host The host for the web server to
listen on. Note that you most likely
want this to be '0.0.0.0' in
❯ bothServer.test.mts:9:20
|
bothServer.test.mts > rw serve > errors out on unknown args:
tasks/server-tests/bothServer.test.mts#L57
Error: Snapshot `rw serve > errors out on unknown args 1` mismatched
- Expected
+ Received
@@ -6,18 +6,18 @@
rw serve Start a server for serving the api and web sides [default]
rw serve api Start a server for serving the api side
rw serve web Start a server for serving the web side
Options:
- --version Show version number [boolean]
--cwd Working directory to use (where
`redwood.toml` is located)
--load-env-files Load additional .env files. Values
defined in files specified later
override earlier ones. [array]
--telemetry Whether to send anonymous usage
telemetry to RedwoodJS [boolean]
+ --version Show version number [boolean]
--webPort, --web-port The port for the web server to
listen on [number]
--webHost, --web-host The host for the web server to
listen on. Note that you most likely
want this to be '0.0.0.0' in
❯ bothServer.test.mts:57:24
|
Server tests
Process completed with exit code 1.
|
🔄 CLI smoke tests / ubuntu-latest / node 20 latest
Process completed with exit code 1.
|
🔄 CLI smoke tests / windows-latest / node 20 latest
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
logs
Expired
|
2.55 KB |
|