From 299fee42b74ae7ed051c41c9e259b60b9e0323ee Mon Sep 17 00:00:00 2001 From: Tyler Flar Date: Sun, 12 Jan 2025 17:10:29 -0800 Subject: [PATCH] fix: generate project-lock.json --- .github/workflows/eslint_lint.yml | 5 ++++- .github/workflows/release.yml | 5 ++++- .github/workflows/vitest_tests.yml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/eslint_lint.yml b/.github/workflows/eslint_lint.yml index 0c0eb3e..4af168b 100644 --- a/.github/workflows/eslint_lint.yml +++ b/.github/workflows/eslint_lint.yml @@ -31,7 +31,10 @@ jobs: - name: Install dependencies working-directory: frontend - run: npm ci + run: | + # Generate a fresh package-lock.json and install dependencies + npm install --package-lock-only + npm install - name: Run ESLint working-directory: frontend diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e522a6..0f280c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,10 @@ jobs: - name: Install Node.js dependencies working-directory: frontend - run: npm ci + run: | + # Generate a fresh package-lock.json and install dependencies + npm install --package-lock-only + npm install - name: Build for ${{ matrix.os }} run: poetry run python scripts/build.py --os ${{ matrix.build_os }} diff --git a/.github/workflows/vitest_tests.yml b/.github/workflows/vitest_tests.yml index 6465dd2..a012c44 100644 --- a/.github/workflows/vitest_tests.yml +++ b/.github/workflows/vitest_tests.yml @@ -31,7 +31,10 @@ jobs: - name: Install dependencies working-directory: frontend - run: npm ci + run: | + # Generate a fresh package-lock.json and install dependencies + npm install --package-lock-only + npm install - name: Run tests working-directory: frontend