feat: coming soon
This commit is contained in:
		
							
								
								
									
										27
									
								
								.github/workflows/analyze.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/analyze.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
name: 'Analyze'
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  analyze:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
 | 
			
		||||
    strategy:
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
      matrix:
 | 
			
		||||
        language: ['javascript']
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: 'actions/checkout@v2.3.4'
 | 
			
		||||
 | 
			
		||||
      - name: 'Initialize CodeQL'
 | 
			
		||||
        uses: 'github/codeql-action/init@v1'
 | 
			
		||||
        with:
 | 
			
		||||
          languages: ${{ matrix.language }}
 | 
			
		||||
 | 
			
		||||
      - name: 'Perform CodeQL Analysis'
 | 
			
		||||
        uses: 'github/codeql-action/analyze@v1'
 | 
			
		||||
							
								
								
									
										28
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
name: 'Build'
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: 'actions/checkout@v2'
 | 
			
		||||
 | 
			
		||||
      - name: 'Use Node.js'
 | 
			
		||||
        uses: 'actions/setup-node@v2.4.1'
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '16.x'
 | 
			
		||||
          cache: 'npm'
 | 
			
		||||
 | 
			
		||||
      - name: 'Install'
 | 
			
		||||
        run: 'npm install'
 | 
			
		||||
 | 
			
		||||
      - name: 'Build'
 | 
			
		||||
        run: 'npm run build'
 | 
			
		||||
 | 
			
		||||
      - name: 'Build Storybook'
 | 
			
		||||
        run: 'npm run storybook:build'
 | 
			
		||||
							
								
								
									
										33
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: 'Lint'
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  lint:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: 'actions/checkout@v2'
 | 
			
		||||
 | 
			
		||||
      - name: 'Use Node.js'
 | 
			
		||||
        uses: 'actions/setup-node@v2.4.1'
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '16.x'
 | 
			
		||||
          cache: 'npm'
 | 
			
		||||
 | 
			
		||||
      - name: 'Install'
 | 
			
		||||
        run: 'npm install'
 | 
			
		||||
 | 
			
		||||
      - run: 'npm run lint:commit -- --to "${{ github.sha }}"'
 | 
			
		||||
      - run: 'npm run lint:editorconfig'
 | 
			
		||||
      - run: 'npm run lint:markdown'
 | 
			
		||||
      - run: 'npm run lint:docker'
 | 
			
		||||
      - run: 'npm run lint:typescript'
 | 
			
		||||
 | 
			
		||||
      - name: 'dotenv-linter'
 | 
			
		||||
        uses: 'dotenv-linter/action-dotenv-linter@v2'
 | 
			
		||||
        with:
 | 
			
		||||
          github_token: ${{ secrets.github_token }}
 | 
			
		||||
							
								
								
									
										27
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
name: 'Release'
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [master]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  release:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: 'actions/checkout@v2.3.5'
 | 
			
		||||
 | 
			
		||||
      - name: 'Use Node.js'
 | 
			
		||||
        uses: 'actions/setup-node@v2.4.1'
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '16.x'
 | 
			
		||||
          cache: 'npm'
 | 
			
		||||
 | 
			
		||||
      - name: 'Install'
 | 
			
		||||
        run: 'npm install'
 | 
			
		||||
 | 
			
		||||
      - name: 'Deploy to Vercel'
 | 
			
		||||
        run: 'npm run deploy -- --token="${VERCEL_TOKEN}" --prod'
 | 
			
		||||
        env:
 | 
			
		||||
          VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
 | 
			
		||||
          VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
 | 
			
		||||
          VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
 | 
			
		||||
							
								
								
									
										67
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,67 @@
 | 
			
		||||
name: 'Test'
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [master, develop]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  test-unit:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: 'actions/checkout@v2.3.4'
 | 
			
		||||
 | 
			
		||||
      - name: 'Use Node.js'
 | 
			
		||||
        uses: 'actions/setup-node@v2.4.1'
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '16.x'
 | 
			
		||||
          cache: 'npm'
 | 
			
		||||
 | 
			
		||||
      - name: 'Install'
 | 
			
		||||
        run: 'npm install'
 | 
			
		||||
 | 
			
		||||
      - name: 'Unit Test'
 | 
			
		||||
        run: 'npm run test:unit'
 | 
			
		||||
 | 
			
		||||
  test-lighthouse:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: 'actions/checkout@v2.3.4'
 | 
			
		||||
 | 
			
		||||
      - name: 'Use Node.js'
 | 
			
		||||
        uses: 'actions/setup-node@v2.4.0'
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '16.x'
 | 
			
		||||
          cache: 'npm'
 | 
			
		||||
 | 
			
		||||
      - name: 'Install'
 | 
			
		||||
        run: 'npm install'
 | 
			
		||||
 | 
			
		||||
      - name: 'Build'
 | 
			
		||||
        run: 'npm run build'
 | 
			
		||||
 | 
			
		||||
      - name: 'Lighthouse'
 | 
			
		||||
        run: 'npm run test:lighthouse'
 | 
			
		||||
        env:
 | 
			
		||||
          LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
 | 
			
		||||
 | 
			
		||||
  test-e2e:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: 'actions/checkout@v2.3.4'
 | 
			
		||||
 | 
			
		||||
      - name: 'Use Node.js'
 | 
			
		||||
        uses: 'actions/setup-node@v2.4.0'
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '16.x'
 | 
			
		||||
          cache: 'npm'
 | 
			
		||||
 | 
			
		||||
      - name: 'Install'
 | 
			
		||||
        run: 'npm install'
 | 
			
		||||
 | 
			
		||||
      - name: 'Build'
 | 
			
		||||
        run: 'npm run build'
 | 
			
		||||
 | 
			
		||||
      - name: 'End To End (e2e) Test'
 | 
			
		||||
        run: 'npm run test:e2e'
 | 
			
		||||
		Reference in New Issue
	
	Block a user