File tree Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ github : elonehoo
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ pull_request :
9+ branches :
10+ - main
11+
12+ jobs :
13+ test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v3
17+ - name : Set node
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : 16.x
21+
22+ - name : Setup
23+ run : npm i -g @antfu/ni
24+
25+ - name : Install
26+ run : nci
27+
28+ - name : Core Build
29+ run : nr core:build
30+
31+ - name : class-validator Build
32+ run : nr build:class-validator
33+
34+ - name : Yup Build
35+ run : nr build:yup
36+
37+ - name : Test
38+ run : nr test
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 0
15+
16+ - uses : actions/setup-node@v3
17+ with :
18+ node-version : 16.x
19+
20+ - run : npx changelogithub
21+ env :
22+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments