forked from finos/vuu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finos#1096 add lint and typecheck to test-ui CI/CD workflow
- Our current CI/CD workflow is unable to catch any linting or typecheck errors. Adding these checks will help catch them before they are committed into main. - This change also defines a new action `setup-vuu-ui` which abstracts away common steps for ui jobs leading to better modularity and reusability.
- Loading branch information
1 parent
a9ca505
commit b34bce1
Showing
3 changed files
with
38 additions
and
42 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,19 @@ | ||
name: "Setup Vuu UI" | ||
description: "Installs NodeJS and project dependencies" | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install NodeJS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: npm-${{ hashFiles('package-lock.json') }} | ||
restore-keys: npm- | ||
- name: Install dependencies | ||
shell: bash | ||
run: cd ./vuu-ui && npm install |
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 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