File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ run_tests :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - name : yarn install
16
+ run : yarn install --dev
17
+
18
+ - name : yarn test
19
+ run : yarn test
Original file line number Diff line number Diff line change
1
+ name : Linter
2
+ on :
3
+ push :
4
+ branches : [ main ]
5
+ pull_request :
6
+ branches : [ main ]
7
+
8
+ jobs :
9
+ check :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
13
+ - uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - name : Lint Code Base
18
+
19
+ env :
20
+ VALIDATE_ALL_CODEBASE : false
21
+ DEFAULT_BRANCH : main
22
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
+ VALIDATE_JSCPD : false
You can’t perform that action at this time.
0 commit comments