File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ - staging
8+ - develop
9+
10+ jobs :
11+ build :
12+ name : Test Build
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-node@v2
17+ with :
18+ node-version : 15
19+ - run : npm ci
20+ - run : npm run build
Original file line number Diff line number Diff line change 1+ name : Linting
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ - staging
8+ - develop
9+
10+ jobs :
11+ lint :
12+ name : ESLint
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-node@v2
17+ with :
18+ node-version : 15
19+ - run : npm ci
20+ - name : ESLint
21+ run : node node_modules/.bin/eslint . --ext .ts
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ - staging
8+ - develop
9+
10+ jobs :
11+ unit :
12+ name : Unit
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-node@v2
17+ with :
18+ node-version : 15
19+ - run : npm ci
20+ - name : Tests
21+ run : npm run test
You can’t perform that action at this time.
0 commit comments