From 46b3a512e448f60670f7fceea834b6f79b66a227 Mon Sep 17 00:00:00 2001 From: Tejas Bubane Date: Fri, 3 May 2024 10:20:56 +0400 Subject: [PATCH] Fix CI failure due to dependency resolution (#798) * Fix CI failure due to dependency resolution eg. https://github.com/exercism/javascript-test-runner/actions/runs/8832917206/job/24251145340?pr=797 * Fix yarn install deprecation warning The --frozen-lockfile option is deprecated; use --immutable and/or --immutable-cache instead --- .github/workflows/ci.js.yml | 4 ++-- .github/workflows/pr.ci.js.yml | 4 ++-- yarn.lock | 30 +----------------------------- 3 files changed, 5 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci.js.yml b/.github/workflows/ci.js.yml index f0c0e18..93cabd9 100644 --- a/.github/workflows/ci.js.yml +++ b/.github/workflows/ci.js.yml @@ -19,7 +19,7 @@ jobs: node-version: 18.x - name: Install project dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: Run exercism/javascript-test-runner ci precheck (lint code) run: bin/lint.sh @@ -39,7 +39,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install project dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: Build the test-runner (using Node ${{ matrix.node-version }}) run: bin/test.sh diff --git a/.github/workflows/pr.ci.js.yml b/.github/workflows/pr.ci.js.yml index c4e803a..6f97c14 100644 --- a/.github/workflows/pr.ci.js.yml +++ b/.github/workflows/pr.ci.js.yml @@ -19,7 +19,7 @@ jobs: node-version: 18.x - name: Install project dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: Run exercism/javascript ci precheck (lint code) run: bin/lint.sh @@ -41,7 +41,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install project dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: Build the test-runner (using Node ${{ matrix.node-version }}) run: bin/test.sh diff --git a/yarn.lock b/yarn.lock index 0ed309a..8f83c6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2561,25 +2561,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/typescript-estree@npm:6.4.1" - dependencies: - "@typescript-eslint/types": 6.4.1 - "@typescript-eslint/visitor-keys": 6.4.1 - debug: ^4.3.4 - globby: ^11.1.0 - is-glob: ^4.0.3 - semver: ^7.5.4 - ts-api-utils: ^1.0.1 - peerDependenciesMeta: - typescript: - optional: true - checksum: 34c289e50a6337321154efe6c20c762e94fea308f9032971e356a266f63e99b908b1a00dd8cf51eba50a6f69db01d665faf2cf13454b355767fd167eebe60f1c - languageName: node - linkType: hard - -"@typescript-eslint/typescript-estree@npm:^6.4.1": +"@typescript-eslint/typescript-estree@npm:6.4.1, @typescript-eslint/typescript-estree@npm:^6.4.1": version: 6.4.1 resolution: "@typescript-eslint/typescript-estree@npm:6.4.1" dependencies: @@ -2663,16 +2645,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/visitor-keys@npm:6.4.1" - dependencies: - "@typescript-eslint/types": 6.4.1 - eslint-visitor-keys: ^3.4.1 - checksum: bd9cd56fc793e1d880c24193f939c4992b2653f330baece41cd461d1fb48edb2c53696987cba0e29074bbb452dd181fd009db92dd19060fdcc417ad76768f18a - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:^6.0.0": version: 6.4.0 resolution: "@typescript-eslint/visitor-keys@npm:6.4.0"