File tree Expand file tree Collapse file tree 2 files changed +64
-0
lines changed
Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Static Code Analysis
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ paths :
8+ - ' .github/workflows/code-analysis.yml'
9+ - ' src/**'
10+ - ' tests/**'
11+ pull_request :
12+ branches :
13+ - master
14+ paths :
15+ - ' .github/workflows/code-analysis.yml'
16+ - ' src/**'
17+ - ' tests/**'
18+
19+ jobs :
20+ run-linter :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v3
24+ - uses : actions/setup-node@v3
25+ with :
26+ node-version : 18
27+ registry-url : https://registry.npmjs.org/
28+ - uses : pnpm/action-setup@v2
29+ with :
30+ run_install : true
31+ - name : Analyze the code
32+ run : pnpm run lint
Original file line number Diff line number Diff line change 1+ name : Performing tests
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ paths :
8+ - ' .github/workflows/perform-test.yml'
9+ - ' src/**'
10+ - ' tests/**'
11+ pull_request :
12+ branches :
13+ - master
14+ paths :
15+ - ' .github/workflows/perform-test.yml'
16+ - ' src/**'
17+ - ' tests/**'
18+
19+ jobs :
20+ run-tester :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v3
24+ - uses : actions/setup-node@v3
25+ with :
26+ node-version : 18
27+ registry-url : https://registry.npmjs.org/
28+ - uses : pnpm/action-setup@v2
29+ with :
30+ run_install : true
31+ - name : Perform a test
32+ run : pnpm run test
You can’t perform that action at this time.
0 commit comments