-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dff5921
commit 0364adb
Showing
5 changed files
with
100 additions
and
140 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,100 @@ | ||
name: "Build Status" | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
lint-public-dashboard: | ||
name: Lint Public Dashboard | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: public-dashboard-client | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1.1.0 | ||
with: | ||
node-version: "12.x" | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn lint | ||
test-public-dashboard: | ||
name: Test Public Dashboard | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: public-dashboard-client | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1.1.0 | ||
with: | ||
node-version: "12.x" | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn test --coverage | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
flag-name: public-dashboard-client | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel: true | ||
path-to-lcov: public-dashboard-client/coverage/lcov.info | ||
lint-spotlight-client: | ||
name: Lint Spotlight Client | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: spotlight-client | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1.1.0 | ||
with: | ||
node-version: "12.x" | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn lint | ||
test-spotlight-client: | ||
name: Test Spotlight Client | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: spotlight-client | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1.1.0 | ||
with: | ||
node-version: "12.x" | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn test --coverage | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
flag-name: spotlight-client | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel: true | ||
path-to-lcov: spotlight-client/coverage/lcov.info | ||
lint-spotlight-api: | ||
name: Lint Spotlight API | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: spotlight-api | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1.1.0 | ||
with: | ||
node-version: "12.x" | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn lint | ||
finish-coveralls: | ||
runs-on: ubuntu-latest | ||
needs: [test-public-dashboard, test-spotlight-client] | ||
steps: | ||
- name: Coveralls Parallel Finished | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.