Skip to content

Commit

Permalink
Merge pull request #31469 from nextcloud/feat/workflow-auto-update-li…
Browse files Browse the repository at this point in the history
…nt-eslint.yml
  • Loading branch information
skjnldsv authored May 10, 2023
2 parents f63c2db + 9b89164 commit 14cb58c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

name: Lint

on:
pull_request:
push:
branches:
- master
- stable*
on: pull_request

permissions:
contents: read

concurrency:
group: lint-eslint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
lint:
Expand All @@ -23,14 +25,14 @@ jobs:
uses: actions/checkout@v3

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

Expand Down

0 comments on commit 14cb58c

Please sign in to comment.