-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create static check github action for src
- Loading branch information
1 parent
af9320b
commit ba1bb53
Showing
1 changed file
with
27 additions
and
0 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: TypeScript & EsLint & Tests - src | ||
on: | ||
pull_request: | ||
merge_group: | ||
branches: | ||
- main | ||
push: | ||
# commented out for test purposes | ||
# branches: | ||
# - main | ||
jobs: | ||
static-analysis: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js 18 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
- name: Install root node dependencies | ||
run: yarn | ||
- name: Check types | ||
run: yarn tsc | ||
- name: Lint | ||
run: yarn lint:root | ||
- name: run tests | ||
run: yarn test |