test: add workflows config.
This commit is contained in:
		
							
								
								
									
										20
									
								
								.github/workflows/win.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/win.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
name: Win CI
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - main
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    runs-on: windows-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v3
 | 
			
		||||
      - uses: actions/setup-node@v3
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 16
 | 
			
		||||
 | 
			
		||||
      - run: npm install
 | 
			
		||||
      - run: npm run build
 | 
			
		||||
      - uses: pCYSl5EDgo/cat@master
 | 
			
		||||
        with:
 | 
			
		||||
          path: dist/data.json
 | 
			
		||||
		Reference in New Issue
	
	Block a user