-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚧 🧱 Transition front-end to use TypeScript and Sass (#100)
* working poc using typescript * clean up tsconfig * rm extra * switch some componetents to `.tsx` * upgrade to sass * rename files * rework webpack config files * fix mocking fetch * more linting * fix prop-types without import typescript complains * moving base import to setup * remove jsx attribution from core functions * add a core model + props interface for select message * enable compile type checking * fixing some errors * zap since it's completely changed * playing with prop-types and typescript * comment out proptypes TBA on what the answer will be here * move layout to containers * 🐛 found by typescript * yarn upgrade --latest * Update node.js.yml codecov/codecov-action#190 * fix coverage files includes * Delete .eslintignore * Update layout.scss.d.ts * Update tsconfig.json
- Loading branch information
1 parent
0355f5e
commit 8265e92
Showing
69 changed files
with
984 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,28 +69,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js 14.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 14.x | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Cache Node Modules | ||
uses: actions/[email protected] | ||
with: | ||
path: '**/node_modules' | ||
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: Coverage | ||
run: | | ||
cd web-app/ | ||
yarn install | ||
yarn coverage | ||
- name: Cache Node Modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: '**/node_modules' | ||
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: CodeCov GitHub Action | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: web-app/coverage/lcov.info | ||
name: react-frontend-unit-test-${{ matrix.node-version }} | ||
fail_ci_if_error: true | ||
- name: Coverage | ||
run: | | ||
cd web-app/ | ||
yarn install | ||
yarn coverage | ||
- name: CodeCov GitHub Action | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: web-app/coverage/lcov.info | ||
name: react-frontend-unit-test-${{ matrix.node-version }} | ||
fail_ci_if_error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
8265e92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 automatically deployed to http://frontend-aec25d0-96d61837c91fead3.elb.us-east-2.amazonaws.com