File tree Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Original file line number Diff line number Diff line change 1+ name : Checks 
2+ 
3+ on :
4+   pull_request :
5+     branches :
6+       - main 
7+   push :
8+     branches :
9+       - main 
10+ 
11+ jobs :
12+   checks :
13+     runs-on : ubuntu-latest 
14+ 
15+     steps :
16+       - uses : actions/checkout@v4 
17+ 
18+       - uses : oven-sh/setup-bun@v2 
19+         with :
20+           bun-version : latest 
21+ 
22+       - run : bun install --frozen-lockfile 
23+       - run : bun eslint 
24+       #  - run: bun test
25+       - run : bun tsc 
Original file line number Diff line number Diff line change 1- name : Publish on NPM  
1+ name : Publish 
22
33on :
44  push :
55    tags :
6-       - ' js-v *.*.*' 
6+       - " *.*.*" 
77
88jobs :
99  publish :
@@ -16,20 +16,13 @@ jobs:
1616    steps :
1717      - uses : actions/checkout@v4 
1818
19-       - uses : pnpm/action-setup@v4 
20-         with :
21-           version : latest 
22- 
2319      - uses : actions/setup-node@v4 
2420        with :
25-           cache : ' pnpm' 
2621          node-version : 20 
27-           registry-url : ' https://registry.npmjs.com' 
28-           cache-dependency-path : ' pnpm-lock.yaml' 
22+           registry-url : " https://registry.npmjs.com" 
2923
30-       - name : Publish package 
31-         env :
24+       - env :
3225          NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} 
3326        run : | 
34-           pnpm  install && pnpm  build 
27+           npm  install && npm run  build 
3528          npm publish --provenance --access public 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments