feat(scripts): Args type for script arguments #34308
ci.yml
on: pull_request
π Detect changes
7s
π Check formatting (prettier)
1m 40s
β
Check constraints, dependencies, and package.json's
1m 15s
β
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
3m 59s
π² Create Redwood App
2m 19s
Server tests
1m 54s
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
17 errors and 57 warnings
src/commands/generate/script/__tests__/script.test.ts > creates a JavaScript function to execute:
packages/cli/src/commands/generate/script/__tests__/script.test.ts#L23
Error: Snapshot `creates a JavaScript function to execute 1` mismatched
- Expected
+ Received
"// To access your database
// Append api/* to import from api and web/* to import from web
import { db } from 'api/src/lib/db'
+ interface Args {
+ _: string[]
+ [key: string]: unknown
+ }
- export default async ({ args }) => {
+ export default async ({ args }: Args) => {
// Your script here...
console.log(':: Executing script with args ::')
console.log(args)
}
"
β― src/commands/generate/script/__tests__/script.test.ts:23:38
|
src/commands/generate/script/__tests__/script.test.ts > creates a TypeScript function to execute:
packages/cli/src/commands/generate/script/__tests__/script.test.ts#L41
Error: Snapshot `creates a TypeScript function to execute 1` mismatched
- Expected
+ Received
"// To access your database
// Append api/* to import from api and web/* to import from web
import { db } from 'api/src/lib/db'
+ interface Args {
+ _: string[]
+ [key: string]: unknown
+ }
- export default async ({ args }) => {
+ export default async ({ args }: Args) => {
// Your script here...
console.log(':: Executing script with args ::')
console.log(args)
}
"
β― src/commands/generate/script/__tests__/script.test.ts:41:38
|
π Build, lint, test / ubuntu-latest / node 20 latest
Process completed with exit code 1.
|
π Build, lint, test / windows-latest / node 20 latest
The job was canceled because "ubuntu-latest" failed.
|
π CLI smoke tests / ubuntu-latest / node 20 latest
Process completed with exit code 1.
|
π CLI smoke tests / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βοΈ CI-refs/pull/11946/merge' exists
|
π CLI smoke tests / windows-latest / node 20 latest
The operation was canceled.
|
π Telemetry check / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βοΈ CI-refs/pull/11946/merge' exists
|
π Telemetry check / windows-latest / node 20 latest
The operation was canceled.
|
π Fragments Smoke tests / windows-latest
Canceling since a higher priority waiting request for 'βοΈ CI-refs/pull/11946/merge' exists
|
π Fragments Smoke tests / windows-latest
The operation was canceled.
|
π Smoke tests React 18 / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βοΈ CI-refs/pull/11946/merge' exists
|
π Smoke tests React 18 / windows-latest / node 20 latest
The operation was canceled.
|
π Smoke tests / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βοΈ CI-refs/pull/11946/merge' exists
|
π Smoke tests / windows-latest / node 20 latest
The operation was canceled.
|
Background jobs E2E test / windows-latest
Canceling since a higher priority waiting request for 'βοΈ CI-refs/pull/11946/merge' exists
|
Background jobs E2E test / windows-latest
The operation was canceled.
|
π Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Build, lint, test / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Build, lint, test / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Build, lint, test / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π² Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
π Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
logs
|
2.61 KB |
|