From 9e4bed774c9eb0450027ac42d956f934bd7b09f6 Mon Sep 17 00:00:00 2001 From: Sietse Snel Date: Wed, 18 Sep 2024 10:25:02 +0200 Subject: [PATCH] YDA-5952: pin JS linter versions in CI So that the lint job doesn't break unexpectedly after non-backwards-compatible updates to the linting software. --- .github/workflows/javascript.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index 3d13dd8c..257e5a0c 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -12,9 +12,11 @@ jobs: with: node-version: 18 - - name: Install standard + - name: Install standard and React plugin for ESlint run: | - npm install standard --location=global + npm install standard@17.1.2 --location=global + npm install eslint@8.57.1 --location=global + npm install eslint-plugin-react@7.37.1 --location=global - name: Lint with standard run: |