File tree Expand file tree Collapse file tree 2 files changed +4
-30
lines changed Expand file tree Collapse file tree 2 files changed +4
-30
lines changed Original file line number Diff line number Diff line change 11name : Format 
22
33on :
4+   workflow_dispatch :
45  push :
56    branches :
67      - main 
78
89jobs :
910  format :
10-     runs-on : ubuntu-latest 
11-     permissions :
12-       contents : write 
13-     steps :
14-       - uses : actions/checkout@v4 
15-         with :
16-           ref : ${{ github.head_ref }} 
17-           token : ${{ secrets.GITHUB_TOKEN }} 
18-       - uses : pnpm/action-setup@v4 
19-       - uses : actions/setup-node@v4 
20-         with :
21-           node-version : 20 
22-           cache : " pnpm" 
23-       - name : Install dependencies 
24-         run : pnpm install 
25-       - name : Format code 
26-         run : pnpm run format 
27-       - name : Commit changes 
28-         uses : stefanzweifel/git-auto-commit-action@v5 
29-         with :
30-           commit_message : " [ci] format" 
31-           branch : ${{ github.head_ref }} 
32-         env :
33-           GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
11+     if : github.repository_owner == 'bombshell-dev' 
12+     uses : bombshell-dev/automation/.github/workflows/format.yml@main 
13+     secrets : inherit 
Original file line number Diff line number Diff line change 2525        with :
2626          node-version : 20 
2727          cache : " pnpm" 
28-       #  Run prepublish to ensure everything is built properly
29-       #  TODO: is this manual build step actually needed?
3028      - run : pnpm run ci:install 
31-       #  `prepack` hook _should_ run but doesn't seem to.
3229      - run : pnpm run ci:prepublish 
3330      - name : Create Release Pull Request or Publish to npm 
3431        id : changesets 
4744          pnpm run deps:check 
4845env :
4946          NODE_ENV : production 
50-       - name : Publish to jsr.io 
51-         if : steps.changesets.outputs.published == 'true' 
52-         run : pnpx @qingshaner/jsr-release publish --changesetReleases='${{ steps.changesets.outputs.publishedPackages }}' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments