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:
Ainar Garipov 2023-08-30 13:37:02 +03:00
parent 1f5abecefc
commit a4fdc3e8ed

View File

@ -2,6 +2,8 @@
'env':
'GO_VERSION': '1.20.7'
# TODO(a.garipov, ik): Update to the latest ESR.
'NODE_VERSION': '14'
'on':
'push':
@ -28,6 +30,10 @@
'runs-on': 'ubuntu-latest'
'steps':
- 'uses': 'actions/checkout@v2'
- 'name': 'Set up Node'
'uses': 'actions/setup-node@v1'
'with':
'node-version': '${{ env.NODE_VERSION }}'
- 'name': 'Install modules'
'run': 'npm --prefix="./client" ci'
- 'name': 'Run ESLint'