Skip to content

Commit

Permalink
Run automated checks on regular PR (NOT master or production) (#3404)
Browse files Browse the repository at this point in the history
* Run automated checks on regular PR (NOT master or production)
* Remove unused includes
  • Loading branch information
TomNUSDS authored Dec 10, 2021
1 parent eddda5f commit a7d7e5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion frontend-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-frontend",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"npmClient": "yarn",
"proxy": "http://localhost:7071",
Expand Down
Original file line number Diff line number Diff line change
@@ -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";

Expand Down

0 comments on commit a7d7e5d

Please sign in to comment.