Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Aditya Srivastava <adityasrivastava301199@gmail.com>
- Loading branch information
Showing
2 changed files
with
16,790 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: "Frontend CI" | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
defaults: | ||
run: | ||
working-directory: ./FrontEndApp/v1-react | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: "npm" | ||
# - uses: actions/cache@v2 | ||
# with: | ||
# path: ~/.npm | ||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-node- | ||
- run: npm ci | ||
# CI=true treats warnings as error | ||
# TODO: remove CI=false after all warnings are resolved | ||
- run: CI=false npm run build --if-present | ||
- run: npm test |
Oops, something went wrong.