-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Frontend Buildcheck Workflow Revamp (#1099)
* frontend workflow check * added new step for installing npm * added working directory line for frontend * added specific prettier dev dependency * prettier dev dependency * removed prettier dependency * remove dtest block * removed test block for now * changed env for build and stage * added git dom * added new test components without sample unit test * made changes on checkout synatx and removed build * 🎨 Auto-generated directory tree for repository in Architecture.md --------- Co-authored-by: Faris Durrani <[email protected]> Co-authored-by: farisdurrani <[email protected]>
- Loading branch information
1 parent
3e14549
commit b67f7d0
Showing
3 changed files
with
70 additions
and
7 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,47 @@ | ||
name: Frontend Workflow Check | ||
on: [pull_request, push] | ||
|
||
concurrency: preview-${{ github.ref }} | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
run: npm install -g pnpm | ||
working-directory: ./frontend | ||
|
||
- name: Install | ||
run: pnpm install --frozen-lockfile | ||
id: install | ||
working-directory: ./frontend | ||
|
||
|
||
- name: Run ESLint | ||
run: pnpm run lint | ||
working-directory: ./frontend | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
run: npm install -g pnpm | ||
working-directory: ./frontend | ||
|
||
- name: Install | ||
run: pnpm install --frozen-lockfile | ||
working-directory: ./frontend | ||
|
||
- name: Test | ||
run: echo "pnpm run test should be here" | ||
working-directory: ./frontend | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.