File tree Expand file tree Collapse file tree 2 files changed +25
-21
lines changed
Expand file tree Collapse file tree 2 files changed +25
-21
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request ]
3+ on : [push]
44
55jobs :
66 test :
2222 path-to-lcov : packages/protoc-gen-nexus/coverage/lcov.info
2323 base-path : packages/protoc-gen-nexus
2424
25- lint :
26- if : github.event_name == 'pull_request'
27- runs-on : ubuntu-latest
28- steps :
29- - uses : actions/checkout@v2
30- with :
31- fetch-depth : 0
32- submodules : true
33- - name : Use Node.js 14.x
34- uses : actions/setup-node@v1
35- with :
36- node-version : 14.x
37- - run : yarn --frozen-lockfile
38- - run : yarn lint
39- env :
40- NODE_OPTIONS : " --max_old_space_size=8192"
41- - run : yarn format
42- - name : check generated code is up to date
43- run : git diff --exit-code
44-
4525 test-e2e :
4626 runs-on : ubuntu-latest
4727 steps :
Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on : [pull_request]
4+
5+ jobs :
6+ lint :
7+ if : github.event_name == 'pull_request'
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ with :
12+ fetch-depth : 0
13+ submodules : true
14+ - name : Use Node.js 14.x
15+ uses : actions/setup-node@v1
16+ with :
17+ node-version : 14.x
18+ - run : yarn --frozen-lockfile
19+ - run : yarn lint
20+ env :
21+ NODE_OPTIONS : " --max_old_space_size=8192"
22+ - run : yarn format
23+ - name : check code is up to date
24+ run : git diff --exit-code
You can’t perform that action at this time.
0 commit comments