Skip to content

Commit

Permalink
Updating lint-eslint.yml workflow from template
Browse files Browse the repository at this point in the history
Signed-off-by: Nextcloud bot <[email protected]>
  • Loading branch information
nextcloud-bot committed Mar 5, 2022
1 parent c402275 commit bd25c45
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
push:
branches:
- main
- master
- stable*

Expand All @@ -20,17 +21,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
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 bd25c45

Please sign in to comment.