mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 11:22:49 +03:00
Pull request 1982: eslint-node-version
Squashed commit of the following: commit f48a92c6240cdd88905f396e08a4bc5fac01b97f Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Aug 30 13:29:07 2023 +0300 .github: set node version
This commit is contained in:
parent
1f5abecefc
commit
a4fdc3e8ed
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
'env':
|
'env':
|
||||||
'GO_VERSION': '1.20.7'
|
'GO_VERSION': '1.20.7'
|
||||||
|
# TODO(a.garipov, ik): Update to the latest ESR.
|
||||||
|
'NODE_VERSION': '14'
|
||||||
|
|
||||||
'on':
|
'on':
|
||||||
'push':
|
'push':
|
||||||
@ -28,6 +30,10 @@
|
|||||||
'runs-on': 'ubuntu-latest'
|
'runs-on': 'ubuntu-latest'
|
||||||
'steps':
|
'steps':
|
||||||
- 'uses': 'actions/checkout@v2'
|
- 'uses': 'actions/checkout@v2'
|
||||||
|
- 'name': 'Set up Node'
|
||||||
|
'uses': 'actions/setup-node@v1'
|
||||||
|
'with':
|
||||||
|
'node-version': '${{ env.NODE_VERSION }}'
|
||||||
- 'name': 'Install modules'
|
- 'name': 'Install modules'
|
||||||
'run': 'npm --prefix="./client" ci'
|
'run': 'npm --prefix="./client" ci'
|
||||||
- 'name': 'Run ESLint'
|
- 'name': 'Run ESLint'
|
||||||
|
Loading…
Reference in New Issue
Block a user