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

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linters.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index 987a38e5616..f15872bbc22 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -90,7 +90,23 @@ jobs:
- name: Lint Python
run: |
make lint-py-build || true
- NODE=$(command -v node) make lint-py
+ make lint-py
+ lint-yaml:
+ if: github.event.pull_request.draft == false
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Use Python ${{ env.PYTHON_VERSION }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ env.PYTHON_VERSION }}
+ - name: Environment Information
+ run: npx envinfo
+ - name: Lint YAML
+ run: |
+ make lint-yaml-build || true
+ make lint-yaml
+
lint-sh:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04