File tree Expand file tree Collapse file tree 2 files changed +63
-4
lines changed Expand file tree Collapse file tree 2 files changed +63
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ name: π§ͺ E2E Tests
22
33on :
44 push :
5- branches : [ main ]
6- pull_request :
7- branches : [ main ]
5+ branches : [main]
86
97env :
108 APP_VARIANT : internal
@@ -124,4 +122,4 @@ jobs:
124122 # name: maestro-${{ matrix.test }}-${{ matrix.platform }}
125123 # path: |
126124 # .maestro/test-results
127- # .maestro/logs
125+ # .maestro/logs
Original file line number Diff line number Diff line change 1+ name : β¨ Code Quality Checks
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ # Set default permissions to read-only
10+ permissions :
11+ contents : read
12+
13+ env :
14+ CI : true
15+
16+ jobs :
17+ lint :
18+ name : π§Ή Code Linting
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - name : ποΈ Checkout repository
23+ uses : actions/checkout@v4
24+
25+ - name : π Set up Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : " 22"
29+ cache : " yarn"
30+
31+ - name : π¦ Cache Yarn dependencies
32+ uses : actions/cache@v4
33+ with :
34+ path : node_modules
35+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
36+ restore-keys : |
37+ ${{ runner.os }}-yarn-
38+
39+ - name : π§Ά Install dependencies
40+ run : yarn install --frozen-lockfile
41+
42+ - name : π Run ESLint
43+ run : yarn lint
44+
45+ - name : π Run TypeScript checks
46+ run : yarn lint:ts
47+
48+ results :
49+ name : π Lint Results
50+ runs-on : ubuntu-latest
51+ needs : lint
52+ if : always()
53+
54+ steps :
55+ - name : π― Check Lint Status
56+ if : needs.lint.result != 'success'
57+ run : exit 1
58+
59+ - name : π All checks passed!
60+ if : needs.lint.result == 'success'
61+ run : echo "β
All lint checks passed successfully! π"
You canβt perform that action at this time.
0 commit comments