From a4fdc3e8ed56ab373bcacf6fc6acb04795cde5f6 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Wed, 30 Aug 2023 13:37:02 +0300 Subject: [PATCH] Pull request 1982: eslint-node-version Squashed commit of the following: commit f48a92c6240cdd88905f396e08a4bc5fac01b97f Author: Ainar Garipov Date: Wed Aug 30 13:29:07 2023 +0300 .github: set node version --- .github/workflows/lint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 773f0494..36464788 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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'