Skip to content

Commit

Permalink
Added automated lint workflow and an error to test it
Browse files Browse the repository at this point in the history
refs: BLAIS5-3514
  • Loading branch information
motalm committed Oct 16, 2023
1 parent 8a91506 commit fb85d2f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,17 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/coverage-final.json
fail_ci_if_error: true

lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn run lint
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const divStyle = {

function App(): ReactElement {

const myConst:any = "hi";

const [headerText, setHeaderText] = useState<string>("Telephone Operations Blaise Interface");

useEffect(() => {
Expand Down

0 comments on commit fb85d2f

Please sign in to comment.