-
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.
Run code quality checks on pull requests
Make a workflow specific to code quality checks that runs on pull requests Fix errors causing code quality checks to fail closes #1272
- Loading branch information
1 parent
b89bf68
commit 66e3c9c
Showing
2 changed files
with
39 additions
and
12 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,27 @@ | ||
name: 🚧 Check code quality | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
test-client: | ||
name: 🧪 Test client code | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: client | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- name: install dependencies | ||
run: yarn install --frozen-lockfile --non-interactive | ||
working-directory: client | ||
- name: build | ||
env: | ||
DISABLE_SOURCE_MAPS: true | ||
BROCCOLI_ENV: production | ||
run: yarn build | ||
working-directory: client | ||
- name: test | ||
run: yarn test | ||
working-directory: client |
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