mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
switch back to using plain GH
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
62d70e4300
commit
4390f89ea4
73
.github/workflows/linter.yml
vendored
73
.github/workflows/linter.yml
vendored
@ -1,55 +1,36 @@
|
|||||||
---
|
name: Lint Repo
|
||||||
###########################
|
|
||||||
###########################
|
|
||||||
## Linter GitHub Actions ##
|
|
||||||
###########################
|
|
||||||
###########################
|
|
||||||
name: Lint Code Base
|
|
||||||
|
|
||||||
#
|
|
||||||
# Documentation:
|
|
||||||
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
|
|
||||||
#
|
|
||||||
|
|
||||||
#############################
|
|
||||||
# Start the job on all push #
|
|
||||||
#############################
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
branches: [master]
|
branches:
|
||||||
|
- master
|
||||||
###############
|
release:
|
||||||
# Set the Job #
|
types:
|
||||||
###############
|
- published
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# Name the Job
|
name: Lint
|
||||||
name: Lint Code Base
|
|
||||||
# Set the agent to run on
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
##################
|
matrix:
|
||||||
# Load all steps #
|
node-version: [12.x]
|
||||||
##################
|
|
||||||
steps:
|
steps:
|
||||||
##########################
|
- name: Checkout Release from lens
|
||||||
# Checkout the code base #
|
|
||||||
##########################
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
# Full git history is needed to get a proper list of changed files within `super-linter`
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
################################
|
- name: git config
|
||||||
# Run Linter against code base #
|
run: |
|
||||||
################################
|
git config --local user.email "action@github.com"
|
||||||
- name: Lint Code Base
|
git config --local user.name "GitHub Action"
|
||||||
uses: github/super-linter@v3
|
|
||||||
env:
|
- name: Using Node.js ${{ matrix.node-version }}
|
||||||
FILTER_REGEX_INCLUDE: "**/*.(ts|tsx|js)"
|
uses: actions/setup-node@v1
|
||||||
VALIDATE_JAVASCRIPT_ES: true
|
with:
|
||||||
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
|
node-version: ${{ matrix.node-version }}
|
||||||
LINTER_RULES_PATH: /
|
|
||||||
DEFAULT_BRANCH: master
|
- name: Install deps
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
run: yarn install
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: yarn run lint
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
[](https://dev.azure.com/lensapp/lensapp/_build/latest?definitionId=1&branchName=master)
|
[](https://dev.azure.com/lensapp/lensapp/_build/latest?definitionId=1&branchName=master)
|
||||||
[](https://github.com/lensapp/lens/releases?label=Downloads)
|
[](https://github.com/lensapp/lens/releases?label=Downloads)
|
||||||
[](https://join.slack.com/t/k8slens/shared_invite/enQtOTc5NjAyNjYyOTk4LWU1NDQ0ZGFkOWJkNTRhYTc2YjVmZDdkM2FkNGM5MjhiYTRhMDU2NDQ1MzIyMDA4ZGZlNmExOTc0N2JmY2M3ZGI)
|
[](https://join.slack.com/t/k8slens/shared_invite/enQtOTc5NjAyNjYyOTk4LWU1NDQ0ZGFkOWJkNTRhYTc2YjVmZDdkM2FkNGM5MjhiYTRhMDU2NDQ1MzIyMDA4ZGZlNmExOTc0N2JmY2M3ZGI)
|
||||||
[](https://github.com/marketplace/actions/super-linter)
|
|
||||||
|
|
||||||
World’s most popular Kubernetes IDE provides a simplified, consistent entry point for developers, testers, integrators, and DevOps, to ship code faster at scale. Lens is the only IDE you’ll ever need to take control of your Kubernetes clusters. It is a standalone application for MacOS, Windows and Linux operating systems. Lens is an open source project and free!
|
World’s most popular Kubernetes IDE provides a simplified, consistent entry point for developers, testers, integrators, and DevOps, to ship code faster at scale. Lens is the only IDE you’ll ever need to take control of your Kubernetes clusters. It is a standalone application for MacOS, Windows and Linux operating systems. Lens is an open source project and free!
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user