File tree Expand file tree Collapse file tree 3 files changed +47
-2
lines changed Expand file tree Collapse file tree 3 files changed +47
-2
lines changed Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 name : Android
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v3
1515
1616 - uses : actions/cache@v3
1717 id : yarn-cache
Original file line number Diff line number Diff line change 66 name : Lint Checks
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
9+ - uses : actions/checkout@v3
1010 - uses : actions/cache@v3
1111 id : yarn-cache
1212 with :
Original file line number Diff line number Diff line change 1+ name : Tests
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ jobs :
7+ jest :
8+ name : Jest
9+ permissions :
10+ checks : write
11+ pull-requests : write
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - uses : actions/cache@v3
17+ id : yarn-cache
18+ with :
19+ path : " ./.yarn/cache"
20+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
21+ restore-keys : |
22+ ${{ runner.os }}-yarn-
23+
24+ - name : Install Dependencies
25+ run : yarn install --check-cache
26+ - uses : ArtiomTr/jest-coverage-report-action@v2
27+ with :
28+ test-script : yarn run jest --ci --json --coverage --testLocationInResults --outputFile=report.json
29+
30+ cypress :
31+ runs-on : ubuntu-latest
32+ name : Cypress
33+ steps :
34+ - uses : actions/checkout@v3
35+
36+ - uses : actions/cache@v3
37+ id : yarn-cache
38+ with :
39+ path : " ./.yarn/cache"
40+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
41+ restore-keys : |
42+ ${{ runner.os }}-yarn-
43+
44+ - name : Cypress run
45+ uses : cypress-io/github-action@v2
You can’t perform that action at this time.
0 commit comments