-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move more stuff from BK to GHA (#342)
- Loading branch information
Showing
2 changed files
with
56 additions
and
5 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,56 @@ | ||
name: Static Analysis | ||
on: | ||
pull_request: { } | ||
push: | ||
branches: [ develop, master ] | ||
jobs: | ||
ts_lint: | ||
name: "Typescript Syntax Check" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Typecheck | ||
run: "yarn run lint:types" | ||
|
||
i18n_lint: | ||
name: "i18n Diff Check" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: i18n Check | ||
run: "yarn run diff-i18n" | ||
|
||
js_lint: | ||
name: "ESLint" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Run Linter | ||
run: "yarn run lint:js" |
This file was deleted.
Oops, something went wrong.