react-uswds
react-uswds copied to clipboard
ci: dangerfile and build-and-test updated
Summary
- Updates the shouldTest flag in dangerfile so that it will properly be false if PR data isn't present
- Adds node 20 to build-and-test's matrix, and bumps the github actions used's versions
- Bumps the .node-version to latest 18.x (18.19.1)
- Fixes storybook brandImage url (find
uswds.svgrelative, not from root)
How To Test
- build-and-test should successfully run on node 18/20 on this PR
- dangerfile steps in other workflows besides PR should no longer fail from attempting to run and encountering errors