Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nasa/openmct.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hill <john.c.hill@nasa.gov>2022-10-19 02:10:09 +0300
committerGitHub <noreply@github.com>2022-10-19 02:10:09 +0300
commit2fa36b217695a834225de0da2dd6ffb152259688 (patch)
tree04c6e454bd1e902d8cdf286b5e6a7878e74c189e
parentefa38d779e8cb648ebde7dee8bf6011b011ced7d (diff)
Delete lighthouse.yml (#5885)
-rw-r--r--.github/workflows/lighthouse.yml98
1 files changed, 0 insertions, 98 deletions
diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml
deleted file mode 100644
index a2df65344..000000000
--- a/.github/workflows/lighthouse.yml
+++ /dev/null
@@ -1,98 +0,0 @@
-name: lighthouse
-on:
- workflow_dispatch:
- inputs:
- version:
- description: 'Which branch do you want to test?' # Limited to branch for now
- required: false
- default: 'master'
- pull_request:
- types:
- - labeled
-jobs:
- lighthouse-pr:
- if: ${{ github.event.label.name == 'pr:lighthouse' }}
- runs-on: ubuntu-latest
- steps:
- - name: Checkout Master for Baseline
- uses: actions/checkout@v3
- with:
- ref: master #explicitly checkout master for baseline
- - name: Install Node 16
- uses: actions/setup-node@v3
- with:
- node-version: '16'
- - name: Cache node modules
- uses: actions/cache@v2
- env:
- cache-name: cache-node-modules
- with:
- path: ~/.npm
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
- restore-keys: |
- ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
- - name: npm install with lighthouse cli
- run: npm install && npm install -g @lhci/cli
- - name: Run lhci against master to generate baseline and ignore exit codes
- run: lhci autorun || true
- - name: Perform clean checkout of PR
- uses: actions/checkout@v3
- with:
- clean: true
- - name: Install Node version which is compatible with PR
- uses: actions/setup-node@v3
- - name: npm install with lighthouse cli
- run: npm install && npm install -g @lhci/cli
- - name: Run lhci with PR
- run: lhci autorun
- env:
- LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- lighthouse-nightly:
- if: ${{ github.event.schedule }}
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - name: Install Node 16
- uses: actions/setup-node@v3
- with:
- node-version: '16'
- - name: Cache node modules
- uses: actions/cache@v2
- env:
- cache-name: cache-node-modules
- with:
- path: ~/.npm
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
- restore-keys: |
- ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
- - name: npm install with lighthouse cli
- run: npm install && npm install -g @lhci/cli
- - name: Run lhci against master to generate baseline
- run: lhci autorun
- env:
- LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- lighthouse-dispatch:
- if: ${{ github.event.workflow_dispatch }}
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
- ref: ${{ github.event.inputs.version }}
- - name: Install Node 14
- uses: actions/setup-node@v3
- with:
- node-version: '16'
- - name: Cache node modules
- uses: actions/cache@v3
- env:
- cache-name: cache-node-modules
- with:
- path: ~/.npm
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
- restore-keys: |
- ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
- - name: npm install with lighthouse cli
- run: npm install && npm install -g @lhci/cli
- - name: Run lhci against master to generate baseline
- run: lhci autorun
- \ No newline at end of file