-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TASK: Run codestyle and JS unittests on Github
With this change these actions are not being run with Circle CI anymore.
- Loading branch information
Showing
2 changed files
with
34 additions
and
22 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
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,34 @@ | ||
name: Build and test | ||
|
||
on: push | ||
|
||
jobs: | ||
codestyle: | ||
runs-on: ubuntu-latest | ||
name: 'Code style' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
cache: 'yarn' | ||
- name: Install | ||
run: make install | ||
- name: Lint | ||
run: make lint | ||
|
||
unittests: | ||
runs-on: ubuntu-latest | ||
name: 'Unit tests' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
cache: 'yarn' | ||
- name: Install | ||
run: make install | ||
- name: Build | ||
run: make build-production | ||
- name: Test | ||
run: make test |