mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 09:52:04 +00:00
[Build] Remove testing and support for node12 (#4963)
* Remove all node12 testing other than platform * add lighthouse to our deps now that 12 is deprecated * removing 12 from platform pr * Updated config.yml Co-authored-by: unlikelyzero <jchill2@gmail.com> Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
This commit is contained in:
parent
2b599a7ff4
commit
150909d4b9
@ -2,7 +2,7 @@ version: 2.1
|
|||||||
executors:
|
executors:
|
||||||
pw-focal-development:
|
pw-focal-development:
|
||||||
docker:
|
docker:
|
||||||
- image: mcr.microsoft.com/playwright:v1.19.1-focal
|
- image: mcr.microsoft.com/playwright:v1.19.2-focal
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: development # Needed to ensure 'dist' folder created and devDependencies installed
|
NODE_ENV: development # Needed to ensure 'dist' folder created and devDependencies installed
|
||||||
parameters:
|
parameters:
|
||||||
@ -101,7 +101,7 @@ jobs:
|
|||||||
equal: [ "FirefoxESR", <<parameters.browser>> ]
|
equal: [ "FirefoxESR", <<parameters.browser>> ]
|
||||||
steps:
|
steps:
|
||||||
- browser-tools/install-firefox:
|
- browser-tools/install-firefox:
|
||||||
version: "91.4.0esr" #https://archive.mozilla.org/pub/firefox/releases/
|
version: "91.7.1esr" #https://archive.mozilla.org/pub/firefox/releases/
|
||||||
- when:
|
- when:
|
||||||
condition:
|
condition:
|
||||||
equal: [ "FirefoxHeadless", <<parameters.browser>> ]
|
equal: [ "FirefoxHeadless", <<parameters.browser>> ]
|
||||||
@ -142,11 +142,8 @@ workflows:
|
|||||||
overall-circleci-commit-status: #These jobs run on every commit
|
overall-circleci-commit-status: #These jobs run on every commit
|
||||||
jobs:
|
jobs:
|
||||||
- lint:
|
- lint:
|
||||||
|
name: node16-lint
|
||||||
node-version: lts/gallium
|
node-version: lts/gallium
|
||||||
- unit-test:
|
|
||||||
name: node12-chrome
|
|
||||||
node-version: lts/erbium
|
|
||||||
browser: ChromeHeadless
|
|
||||||
- unit-test:
|
- unit-test:
|
||||||
name: node14-chrome
|
name: node14-chrome
|
||||||
node-version: lts/fermium
|
node-version: lts/fermium
|
||||||
@ -164,13 +161,9 @@ workflows:
|
|||||||
the-nightly: #These jobs do not run on PRs, but against master at night
|
the-nightly: #These jobs do not run on PRs, but against master at night
|
||||||
jobs:
|
jobs:
|
||||||
- unit-test:
|
- unit-test:
|
||||||
name: node12-firefoxESR-nightly
|
name: node16-firefoxESR-nightly
|
||||||
node-version: lts/erbium
|
node-version: lts/gallium
|
||||||
browser: FirefoxESR
|
browser: FirefoxESR
|
||||||
- unit-test:
|
|
||||||
name: node12-chrome-nightly
|
|
||||||
node-version: lts/erbium
|
|
||||||
browser: ChromeHeadless
|
|
||||||
- unit-test:
|
- unit-test:
|
||||||
name: node14-firefox-nightly
|
name: node14-firefox-nightly
|
||||||
node-version: lts/fermium
|
node-version: lts/fermium
|
||||||
|
14
.github/workflows/lighthouse.yml
vendored
14
.github/workflows/lighthouse.yml
vendored
@ -9,8 +9,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
- labeled
|
- labeled
|
||||||
schedule:
|
|
||||||
- cron: '28 21 * * 1-5'
|
|
||||||
jobs:
|
jobs:
|
||||||
lighthouse-pr:
|
lighthouse-pr:
|
||||||
if: ${{ github.event.label.name == 'pr:lighthouse' }}
|
if: ${{ github.event.label.name == 'pr:lighthouse' }}
|
||||||
@ -20,10 +18,10 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master #explicitly checkout master for baseline
|
ref: master #explicitly checkout master for baseline
|
||||||
- name: Install Node 14
|
- name: Install Node 16
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '16'
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
env:
|
env:
|
||||||
@ -54,10 +52,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Node 14
|
- name: Install Node 16
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '16'
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
env:
|
env:
|
||||||
@ -83,9 +81,9 @@ jobs:
|
|||||||
- name: Install Node 14
|
- name: Install Node 14
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '16'
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
env:
|
env:
|
||||||
cache-name: cache-node-modules
|
cache-name: cache-node-modules
|
||||||
with:
|
with:
|
||||||
|
1
.github/workflows/pr-platform.yml
vendored
1
.github/workflows/pr-platform.yml
vendored
@ -16,7 +16,6 @@ jobs:
|
|||||||
- macos-latest
|
- macos-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
node_version:
|
node_version:
|
||||||
- 12
|
|
||||||
- 14
|
- 14
|
||||||
- 16
|
- 16
|
||||||
architecture:
|
architecture:
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
"karma-sourcemap-loader": "0.3.8",
|
"karma-sourcemap-loader": "0.3.8",
|
||||||
"karma-spec-reporter": "0.0.33",
|
"karma-spec-reporter": "0.0.33",
|
||||||
"karma-webpack": "5.0.0",
|
"karma-webpack": "5.0.0",
|
||||||
|
"lighthouse": "9.5.0",
|
||||||
"location-bar": "3.0.1",
|
"location-bar": "3.0.1",
|
||||||
"lodash": "4.17.12",
|
"lodash": "4.17.12",
|
||||||
"mini-css-extract-plugin": "2.4.5",
|
"mini-css-extract-plugin": "2.4.5",
|
||||||
@ -106,7 +107,7 @@
|
|||||||
"url": "https://github.com/nasa/openmct.git"
|
"url": "https://github.com/nasa/openmct.git"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.22.0"
|
"node": ">=14.19.1"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"Firefox ESR",
|
"Firefox ESR",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user