docs: simplify GitLAb-ci config
- remove Node 4
This commit is contained in:
		
							parent
							
								
									51f6e5fd60
								
							
						
					
					
						commit
						c9bd5de075
					
				| @ -8,11 +8,11 @@ The [Authentication](../usage/ci-configuration.md#authentication) environment va | |||||||
| 
 | 
 | ||||||
| GitLab CI supports [Pipelines](https://docs.gitlab.com/ee/ci/pipelines.html) allowing to test on multiple Node versions and publishing a release only when all test pass. | GitLab CI supports [Pipelines](https://docs.gitlab.com/ee/ci/pipelines.html) allowing to test on multiple Node versions and publishing a release only when all test pass. | ||||||
| 
 | 
 | ||||||
| **Note**: The publish pipeline must run a [Node >= 8 version](../support/FAQ.md#why-does-semantic-release-require-node-version--8). | **Note**: The publish pipeline must run a [Node >= 8 version](../support/FAQ.md#why-does-semantic-release-require-node-version--83). | ||||||
| 
 | 
 | ||||||
| ### `.gitlab-ci.yml` configuration for Node projects | ### `.gitlab-ci.yml` configuration for Node projects | ||||||
| 
 | 
 | ||||||
| This example is a minimal configuration for **semantic-release** with a build running Node 4, 6 and 8 on Linux. See [GitLab CI - Configuration of your jobs with .gitlab-ci.yml](https://docs.gitlab.com/ee/ci/yaml/README.html) for additional configuration options. | This example is a minimal configuration for **semantic-release** with a build running Node 6 and 8. See [GitLab CI - Configuration of your jobs with .gitlab-ci.yml](https://docs.gitlab.com/ee/ci/yaml/README.html) for additional configuration options. | ||||||
| 
 | 
 | ||||||
| **Note**: The`semantic-release` execution command varies depending if you are using a [local](../usage/installation.md#local-installation) or [global](../usage/installation.md#global-installation) **semantic-release** installation. | **Note**: The`semantic-release` execution command varies depending if you are using a [local](../usage/installation.md#local-installation) or [global](../usage/installation.md#global-installation) **semantic-release** installation. | ||||||
| 
 | 
 | ||||||
| @ -25,12 +25,6 @@ stages: | |||||||
| before_script: | before_script: | ||||||
|   - npm install |   - npm install | ||||||
| 
 | 
 | ||||||
| node:4: |  | ||||||
|   image: node:4 |  | ||||||
|   stage: test |  | ||||||
|   script: |  | ||||||
|     - npm test |  | ||||||
| 
 |  | ||||||
| node:6: | node:6: | ||||||
|   image: node:6 |   image: node:6 | ||||||
|   stage: test |   stage: test | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user