Merge pull request #5966 from nextcloud/feat/workflow-auto-update-lint-eslint.yml
chore(CI): Updating lint-eslint.yml workflow from template
This commit is contained in:
10
.github/workflows/lint-eslint.yml
vendored
10
.github/workflows/lint-eslint.yml
vendored
@@ -3,8 +3,8 @@
|
|||||||
# https://github.com/nextcloud/.github
|
# https://github.com/nextcloud/.github
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||||
#
|
#
|
||||||
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
|
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
|
||||||
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
name: Lint eslint
|
name: Lint eslint
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changes:
|
changes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest-low
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
src: ${{ steps.changes.outputs.src}}
|
src: ${{ steps.changes.outputs.src}}
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
id: versions
|
id: versions
|
||||||
with:
|
with:
|
||||||
fallbackNode: '^20'
|
fallbackNode: '^20'
|
||||||
fallbackNpm: '^9'
|
fallbackNpm: '^10'
|
||||||
|
|
||||||
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
|
||||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
summary:
|
summary:
|
||||||
permissions:
|
permissions:
|
||||||
contents: none
|
contents: none
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest-low
|
||||||
needs: [changes, lint]
|
needs: [changes, lint]
|
||||||
|
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user