File tree Expand file tree Collapse file tree 4 files changed +48
-71
lines changed Expand file tree Collapse file tree 4 files changed +48
-71
lines changed Original file line number Diff line number Diff line change 1- name : autofix.ci  #  needed to securely identify the workflow
2- 
3- on :
4-   pull_request :
5-   push :
6-     branches : ["main"] 
7- 
8- permissions :
9-   contents : read 
10- 
1+ name : autofix.ci 
2+ on : { push: {}, pull_request: {} } 
3+ permissions : { contents: read } 
114jobs :
125  autofix :
136    runs-on : ubuntu-latest 
147    steps :
15-       - uses : actions/checkout@v5  
8+       - uses : actions/checkout@v4  
169      - run : npm i -fg corepack && corepack enable 
1710      - uses : actions/setup-node@v4 
18-         with :
19-           node-version : 22 
20-           cache : " pnpm" 
11+         with : { node-version: lts/*, cache: "pnpm" } 
2112      - run : pnpm install 
22-       - run : pnpm run gen-drivers 
23-       - name : Fix lint issues 
24-         run : pnpm run lint:fix 
13+       - run : pnpm lint:fix 
2514      - uses : autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 
26-         with :
27-           commit-message : " chore: apply automated updates" 
15+         with : { commit-message: "chore: apply automated updates" } 
Original file line number Diff line number Diff line change 1+ name : checks 
2+ on : { push: {}, pull_request: {} } 
3+ jobs :
4+   checks :
5+     runs-on : ubuntu-latest 
6+     steps :
7+       - uses : actions/checkout@v4 
8+       - run : npm i -fg corepack && corepack enable 
9+       - uses : actions/setup-node@v4 
10+         with : { node-version: lts/*, cache: "pnpm" } 
11+       - uses : denoland/setup-deno@v2 
12+         with : { deno-version: v2.x } 
13+       - run : pnpm install 
14+       - run : pnpm lint 
15+       - run : pnpm test:types 
16+       - run : pnpm build 
17+       - run : pnpm vitest --coverage 
18+         #  env:
19+         #    VITE_UPSTASH_REDIS_REST_URL: ${{ secrets.VITE_UPSTASH_REDIS_REST_URL }}
20+         #    VITE_UPSTASH_REDIS_REST_TOKEN: ${{ secrets.VITE_UPSTASH_REDIS_REST_TOKEN }}
21+         #    VITE_VERCEL_BLOB_READ_WRITE_TOKEN: ${{ secrets.VITE_VERCEL_BLOB_READ_WRITE_TOKEN }}
22+         #    VITE_CLOUDFLARE_ACC_ID: ${{ secrets.VITE_CLOUDFLARE_ACC_ID }}
23+         #    VITE_CLOUDFLARE_KV_NS_ID: ${{ secrets.VITE_CLOUDFLARE_KV_NS_ID }}
24+         #    VITE_CLOUDFLARE_TOKEN: ${{ secrets.VITE_CLOUDFLARE_TOKEN }}
25+         #    VITE_UPLOADTHING_TOKEN: ${{ secrets.VITE_UPLOADTHING_TOKEN }}
26+       - uses : codecov/codecov-action@v5 
  Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 1+ name : publish 
2+ on : { push: { branches: [main] } } 
3+ permissions : { id-token: write, contents: read } 
4+ jobs :
5+   publish :
6+     runs-on : ubuntu-latest 
7+     steps :
8+       - uses : actions/checkout@v4 
9+         with : { fetch-depth: 0 } 
10+       - run : npm i -fg corepack && corepack enable 
11+       - uses : actions/setup-node@v4 
12+         with : { node-version: lts/*, cache: "pnpm" } 
13+       - run : pnpm install 
14+       - run : pnpm changelogen --bump --canary nightly 
15+       - run : npm i -g npm@latest && npm publish --tag latest 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments