This reverts commit 0420c548da.
			
			
This commit is contained in:
		
							
								
								
									
										45
									
								
								.github/workflows/nodejs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										45
									
								
								.github/workflows/nodejs.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,22 +1,53 @@ | ||||
| name: Node.js CI | ||||
|  | ||||
| on: [push] | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|       - develop | ||||
|   pull_request: | ||||
|  | ||||
| jobs: | ||||
|   build_and_test: | ||||
|  | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     strategy: | ||||
|       matrix: | ||||
|         node-version: [11.10.x, 12.x, 13.x] | ||||
|         node-version: [11.10.x, 12.x] | ||||
|  | ||||
|     services: | ||||
|       postgres: | ||||
|         image: postgres:10-alpine | ||||
|         ports: | ||||
|           - 5432:5432 | ||||
|         env: | ||||
|           POSTGRES_DB: test-misskey | ||||
|           POSTGRES_HOST_AUTH_METHOD: trust | ||||
|       redis: | ||||
|         image: redis:alpine | ||||
|         ports: | ||||
|           - 6379:6379 | ||||
|  | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|     - uses: actions/checkout@v1 | ||||
|     - name: Use Node.js ${{ matrix.node-version }} | ||||
|       uses: actions/setup-node@v1 | ||||
|       with: | ||||
|         node-version: ${{ matrix.node-version }} | ||||
|     - name: Install dependencies | ||||
|       run: yarn install | ||||
|     - name: Copy Configure | ||||
|       run: cp .circleci/misskey/*.yml .config | ||||
|     - name: Build | ||||
|       run: yarn build | ||||
|     - name: Test | ||||
|       run: yarn test | ||||
|  | ||||
|   lint: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|     - uses: actions/setup-node@v1 | ||||
|       with: | ||||
|         node-version: 12.x | ||||
|     - run: yarn install | ||||
|     - run: cp .circleci/misskey/*.yml .config/ | ||||
|     - run: yarn build | ||||
|     - run: yarn lint | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MeiMei
					MeiMei