mirror of
				https://github.com/186526/handlers.js
				synced 2024-10-13 00:29:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			47 lines
		
	
	
		
			856 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			856 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: CI
 | |
| 
 | |
| on: push
 | |
| 
 | |
| jobs:
 | |
|   node:
 | |
|     runs-on: ubuntu-latest
 | |
| 
 | |
|     strategy:
 | |
|       matrix:
 | |
|         node-version: [14.x, 16.x, 18.x]
 | |
| 
 | |
|     steps:
 | |
|       - uses: actions/checkout@v3
 | |
| 
 | |
|       - name: Use Node.js ${{ matrix.node-version }}
 | |
|         uses: actions/setup-node@v3
 | |
|         with:
 | |
|           node-version: ${{ matrix.node-version }}
 | |
| 
 | |
|       - name: Install dependencies
 | |
|         run: yarn install
 | |
| 
 | |
|       - name: Test handlers.js
 | |
|         run: yarn test:node
 | |
| 
 | |
|   deno:
 | |
|     runs-on: ubuntu-latest
 | |
| 
 | |
|     steps:
 | |
|       - uses: actions/checkout@v3
 | |
| 
 | |
|       - name: Use Node.js Latest
 | |
|         uses: actions/setup-node@v3
 | |
|         with:
 | |
|           node-version: vx.x.x
 | |
| 
 | |
|       - name: Install dependencies
 | |
|         run: yarn install
 | |
| 
 | |
|       - uses: denoland/setup-deno@v1
 | |
|         with:
 | |
|           deno-version: vx.x.x
 | |
| 
 | |
|       - name: Test handlers.js
 | |
|         run: yarn test:deno
 |