File tree Expand file tree Collapse file tree 9 files changed +3216
-134
lines changed Expand file tree Collapse file tree 9 files changed +3216
-134
lines changed Original file line number Diff line number Diff line change 1+ >=22
Original file line number Diff line number Diff line change 1+ name : Setup 
2+ description : Setup Node.js and install dependencies 
3+ 
4+ runs :
5+   using : composite 
6+   steps :
7+     - name : Setup Node.js 
8+       uses : actions/setup-node@v4 
9+       with :
10+         node-version-file : .nvmrc 
11+         cache : npm 
12+ 
13+     - name : Install dependencies 
14+       run : npm ci 
15+       shell : bash 
Original file line number Diff line number Diff line change 1+ name : CI 
2+ on :
3+   push :
4+     branches :
5+       - main 
6+   pull_request :
7+     branches :
8+       - main 
9+ 
10+ jobs :
11+   lint :
12+     runs-on : ubuntu-latest 
13+     steps :
14+       - name : Checkout 
15+         uses : actions/checkout@v3 
16+ 
17+       - name : Setup 
18+         uses : ./.github/actions/setup 
19+ 
20+       - name : Lint 
21+         run : npm run lint 
22+ 
23+       - name : Typecheck and build 
24+         run : npm run tsc 
Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 1+ name : Fast-Forward PR 
2+ 
3+ on :
4+   issue_comment :
5+     types : [created] 
6+ 
7+ jobs :
8+   fast_forward_job :
9+     name : Fast Forward 
10+     if : github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/yolo')) 
11+     runs-on : ubuntu-latest 
12+     steps :
13+       - name : Checkout code into workspace directory 
14+         uses : actions/checkout@v3 
15+         with :
16+           fetch-depth : 0 
17+ 
18+       - name : Fast Forward PR 
19+         id : ff-action 
20+         uses : endre-spotlab/fast-forward-js-action@master 
21+         with :
22+           GITHUB_TOKEN : ${{ secrets.ACTION_TOKEN }} 
23+           success_message : " Success! Fast forwarded ***target_base*** to ***source_head***! ```git checkout target_base && git merge source_head --ff-only``` " 
24+           failure_message : " Failed! Cannot do fast forward!" 
25+           production_branch : " main" 
Original file line number Diff line number Diff line change 1+ name : Release & Publish 
2+ on : workflow_dispatch 
3+ jobs :
4+   release :
5+     runs-on : ubuntu-latest 
6+     steps :
7+       - name : Checkout source code 
8+         uses : actions/checkout@v3 
9+         with :
10+           fetch-depth : 0 
11+ 
12+       - name : Setup 
13+         uses : ./.github/actions/setup 
14+ 
15+       - name : Set Git user 
16+         run : | 
17+           git config --global user.email "[email protected] " 18+           git config --global user.name "GitHub Release Workflow" 
19+ 
20+ name : Create NPM config 
21+         run : | 
22+           npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN 
23+ env :
24+           NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }} 
25+ 
26+       - name : Run release 
27+         run : npm run release --ci 
28+         env :
29+           GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
30+           NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }} 
Original file line number Diff line number Diff line change 1+ {
2+   "$schema" : " https://unpkg.com/release-it/schema/release-it.json" 
3+   "github" : {
4+     "release" : true 
5+   }
6+ }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments