diff --git a/.github/workflows/build_frontend.yaml b/.github/workflows/build_frontend.yaml index a4bbd3e36da..d57c41f7bb7 100644 --- a/.github/workflows/build_frontend.yaml +++ b/.github/workflows/build_frontend.yaml @@ -60,5 +60,9 @@ jobs: - name: Build staging fallthrough for PR branch (conditional check) if: (!(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/production')) + working-directory: ./frontend-react run: | + yarn lint:prettier + yarn lint:eslint + yarn test:ci yarn build:staging diff --git a/frontend-react/package.json b/frontend-react/package.json index 9aa05db29af..50e81a8d13f 100644 --- a/frontend-react/package.json +++ b/frontend-react/package.json @@ -1,6 +1,6 @@ { "name": "react-frontend", - "version": "0.1.0", + "version": "0.1.1", "private": true, "npmClient": "yarn", "proxy": "http://localhost:7071", diff --git a/frontend-react/src/pages/tos-sign/TermsOfServiceForm.test.tsx b/frontend-react/src/pages/tos-sign/TermsOfServiceForm.test.tsx index 1443130dbf4..2d6449c8465 100644 --- a/frontend-react/src/pages/tos-sign/TermsOfServiceForm.test.tsx +++ b/frontend-react/src/pages/tos-sign/TermsOfServiceForm.test.tsx @@ -1,10 +1,4 @@ -import { - fireEvent, - render, - screen, - waitForElementToBeRemoved, - waitFor, -} from "@testing-library/react"; +import { fireEvent, render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { BrowserRouter } from "react-router-dom";