[CI] Update CI to use node16 by default (#4868)
* Update node versions to 16 * New Line Co-authored-by: unlikelyzero <jchill2@gmail.com>
This commit is contained in:
		@@ -76,7 +76,7 @@ jobs:
 | 
			
		||||
          node-version: <<parameters.node-version>>
 | 
			
		||||
      - run: npm audit --audit-level=low
 | 
			
		||||
      - generate_and_store_version_and_filesystem_artifacts
 | 
			
		||||
  node14-lint:
 | 
			
		||||
  lint:
 | 
			
		||||
    parameters:
 | 
			
		||||
      node-version:
 | 
			
		||||
        type: string
 | 
			
		||||
@@ -141,8 +141,8 @@ jobs:
 | 
			
		||||
workflows:
 | 
			
		||||
  overall-circleci-commit-status: #These jobs run on every commit
 | 
			
		||||
    jobs:
 | 
			
		||||
      - node14-lint:
 | 
			
		||||
          node-version: lts/fermium
 | 
			
		||||
      - lint:
 | 
			
		||||
          node-version: lts/gallium
 | 
			
		||||
      - unit-test:
 | 
			
		||||
          name: node12-chrome
 | 
			
		||||
          node-version: lts/erbium
 | 
			
		||||
@@ -152,10 +152,14 @@ workflows:
 | 
			
		||||
          node-version: lts/fermium
 | 
			
		||||
          browser: ChromeHeadless
 | 
			
		||||
          post-steps:
 | 
			
		||||
            - upload_code_covio               
 | 
			
		||||
            - upload_code_covio  
 | 
			
		||||
      - unit-test:
 | 
			
		||||
          name: node16-chrome
 | 
			
		||||
          node-version: lts/gallium
 | 
			
		||||
          browser: ChromeHeadless             
 | 
			
		||||
      - e2e-test:
 | 
			
		||||
          name: e2e-ci
 | 
			
		||||
          node-version: lts/fermium
 | 
			
		||||
          node-version: lts/gallium
 | 
			
		||||
          suite: ci
 | 
			
		||||
  the-nightly: #These jobs do not run on PRs, but against master at night
 | 
			
		||||
    jobs:
 | 
			
		||||
@@ -175,11 +179,15 @@ workflows:
 | 
			
		||||
          name: node14-chrome-nightly
 | 
			
		||||
          node-version: lts/fermium
 | 
			
		||||
          browser: ChromeHeadless
 | 
			
		||||
      - unit-test:
 | 
			
		||||
          name: node16-chrome-nightly
 | 
			
		||||
          node-version: lts/gallium
 | 
			
		||||
          browser: ChromeHeadless
 | 
			
		||||
      - npm-audit:
 | 
			
		||||
          node-version: lts/fermium
 | 
			
		||||
          node-version: lts/gallium
 | 
			
		||||
      - e2e-test:
 | 
			
		||||
          name: e2e-full-nightly
 | 
			
		||||
          node-version: lts/fermium
 | 
			
		||||
          node-version: lts/gallium
 | 
			
		||||
          suite: full
 | 
			
		||||
    triggers:
 | 
			
		||||
      - schedule:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/e2e-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/e2e-pr.yml
									
									
									
									
										vendored
									
									
								
							@@ -22,7 +22,7 @@ jobs:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - uses: actions/setup-node@v2
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '14'
 | 
			
		||||
          node-version: '16'
 | 
			
		||||
      - run: npx playwright install-deps
 | 
			
		||||
      - run: npm install
 | 
			
		||||
      - run: npm run test:e2e:full
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/e2e-visual.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/e2e-visual.yml
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@ jobs:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - uses: actions/setup-node@v2
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '14'
 | 
			
		||||
          node-version: '16'
 | 
			
		||||
      - run: npx playwright install-deps
 | 
			
		||||
      - run: npm install
 | 
			
		||||
      - name: Run the e2e visual tests
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@ jobs:
 | 
			
		||||
          ref: ${{ github.event.inputs.version }}
 | 
			
		||||
      - uses: actions/setup-node@v2
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '14'
 | 
			
		||||
          node-version: '16'
 | 
			
		||||
      - run: npm install
 | 
			
		||||
      - name: Run the e2e tests
 | 
			
		||||
        run: npm run test:e2e:ci
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								.github/workflows/lighthouse.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/lighthouse.yml
									
									
									
									
										vendored
									
									
								
							@@ -15,6 +15,6 @@ jobs:
 | 
			
		||||
          ref: ${{ github.event.inputs.version }}
 | 
			
		||||
      - uses: actions/setup-node@v2
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '14'
 | 
			
		||||
          node-version: '16'
 | 
			
		||||
      - run: npm install && npm install -g @lhci/cli #Don't want to include this in our deps
 | 
			
		||||
      - run: lhci autorun
 | 
			
		||||
      - run: lhci autorun
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								.github/workflows/npm-prerelease.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/npm-prerelease.yml
									
									
									
									
										vendored
									
									
								
							@@ -14,7 +14,7 @@ jobs:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - uses: actions/setup-node@v2
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 14
 | 
			
		||||
          node-version: 16
 | 
			
		||||
      - run: npm install
 | 
			
		||||
      - run: npm test
 | 
			
		||||
 | 
			
		||||
@@ -25,7 +25,7 @@ jobs:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - uses: actions/setup-node@v2
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 14
 | 
			
		||||
          node-version: 16
 | 
			
		||||
          registry-url: https://registry.npmjs.org/
 | 
			
		||||
      - run: npm install
 | 
			
		||||
      - run: npm publish --access public --tag unstable
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user