Skip to content

test for mail

test for mail #42

Triggered via push May 26, 2024 06:31
Status Failure
Total duration 29s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
test-and-lint: src/flights/checkout.jsx#L1
'React' is defined but never used
test-and-lint: src/flights/checkout.jsx#L15
Insert `,`
test-and-lint: src/flights/checkout.jsx#L21
Insert `,`
test-and-lint: src/flights/checkout.jsx#L24
Replace `'Flight·details:'` with `"Flight·details:"`
test-and-lint: src/flights/checkout.jsx#L25
Replace `'Flight·departure:',·flightResponse.data.flight.flights[0].departure_airport.id` with `⏎··········"Flight·departure:",⏎··········flightResponse.data.flight.flights[0].departure_airport.id,⏎········`
test-and-lint: src/flights/checkout.jsx#L26
Replace `'Flight·arrival:',·flightResponse.data.flight.flights[0].arrival_airport.id` with `⏎··········"Flight·arrival:",⏎··········flightResponse.data.flight.flights[0].arrival_airport.id,⏎········`
test-and-lint: src/flights/checkout.jsx#L38
Replace `transaction·&&·transaction.status·===·"AUTHORIZED"·&&·flightDetails` with `⏎··········transaction·&&⏎··········transaction.status·===·"AUTHORIZED"·&&⏎··········flightDetails⏎········`
test-and-lint: src/flights/checkout.jsx#L45
Replace `"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/buy",·data` with `⏎············"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/buy",⏎············data,⏎··········`
test-and-lint: src/flights/checkout.jsx#L47
Replace `"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/reciept-dev-createPDF",` with `⏎············"https://8ujhmk0td0.execute-api.us-east-2.amazonaws.com/Produccion2/reciept-dev-createPDF",⏎···········`
test-and-lint: src/flights/checkout.jsx#L48
Insert `··`
test-and-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-and-lint: src/flights/email.jsx#L4
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
test-and-lint: src/flights/email.jsx#L33
React Hook useEffect has a missing dependency: 'user.email'. Either include it or remove the dependency array
test-and-lint: src/flights/recomendations.jsx#L61
React Hook useEffect has a missing dependency: 'getRecomendedFlights'. Either include it or remove the dependency array
deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, aws-actions/configure-aws-credentials@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
deploy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/