* fix: update deps and devDeps * refactor(prettier): remove unwritten file names from formatter * styles: remove stylelint & scss * refactor: replace scss styles to tailwind * feat: implement tailwind config * refactor: update eslint config * refactor(locales): replace autho's github url with repo itself * refactor: change author's name license * refactor(code): update code settings * refactor: improve file components generators * fix(code): add sharable config * fix(linter): resolve bad parserConfig and linting itself * refactor: bad imports * refactor: update workflow with its scripts
		
			
				
	
	
		
			39 lines
		
	
	
		
			738 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			738 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: 'Lint'
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     branches: [develop]
 | |
|   pull_request:
 | |
|     branches: [master, develop]
 | |
| 
 | |
| jobs:
 | |
|   build:
 | |
|     runs-on: ubuntu-latest
 | |
| 
 | |
|     steps:
 | |
|       - name: Checkout code
 | |
|         uses: actions/checkout@v3.0.0
 | |
| 
 | |
|       - name: Use Node.js
 | |
|         uses: actions/setup-node@v3.1.1
 | |
|         with:
 | |
|           node-version: 16.x
 | |
| 
 | |
|       - name: Install packages
 | |
|         run: yarn --frozen-lockfile
 | |
| 
 | |
|       - name: Next.js linting
 | |
|         run: yarn lint:next
 | |
| 
 | |
|       - name: Check types
 | |
|         run: yarn check-types
 | |
| 
 | |
|       - name: Prettier linting
 | |
|         run: yarn lint:prettier
 | |
| 
 | |
|       - name: Checking editorconfig
 | |
|         run: yarn lint:editorconfig
 | |
| 
 | |
|       - name: Commit linting
 | |
|         run: yarn lint:commit -- --to '${{ github.sha }}'
 |