You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							44 lines
						
					
					
						
							831 B
						
					
					
				
			
		
		
	
	
							44 lines
						
					
					
						
							831 B
						
					
					
				| name: CI
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     paths-ignore:
 | |
|       - 'docs/**'
 | |
|       - '*.md'
 | |
|   pull_request:
 | |
|     paths-ignore:
 | |
|       - 'docs/**'
 | |
|       - '*.md'
 | |
| 
 | |
| jobs:
 | |
|   test:
 | |
|     runs-on: ${{ matrix.os }}
 | |
|     strategy:
 | |
|       matrix:
 | |
|         node-version: [10, 12, 13, 14, 16]
 | |
|         os: [macos-latest, ubuntu-latest, windows-latest]
 | |
| 
 | |
|     steps:
 | |
|       - uses: actions/checkout@v2
 | |
| 
 | |
|       - name: Use Node.js
 | |
|         uses: actions/setup-node@v2
 | |
|         with:
 | |
|           node-version: ${{ matrix.node-version }}
 | |
| 
 | |
|       - name: Install Dependencies
 | |
|         run: |
 | |
|                     npm install --ignore-scripts
 | |
| 
 | |
|       - name: Run Tests
 | |
|         run: |
 | |
|                     npm test
 | |
| 
 | |
|   automerge:
 | |
|     needs: test
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - uses: fastify/github-action-merge-dependabot@v2.7.1
 | |
|         with:
 | |
|           github-token: ${{ secrets.GITHUB_TOKEN }}
 |