From d5a8a263cbd8dbc47192f9c4d0d0c20b220cc2fb Mon Sep 17 00:00:00 2001 From: defiQUG Date: Mon, 15 Jun 2026 19:32:32 -0700 Subject: [PATCH] Fix CI npm install and avoid duplicate validate workflow on push. Add legacy-peer-deps via .npmrc for npm ci on Actions and run Validate on PRs only; main pushes use deploy workflow_call. Co-authored-by: Cursor --- .github/workflows/validate.yml | 4 +--- .npmrc | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .npmrc diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0271d23..2d5c9da 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,14 +1,12 @@ name: Validate on: - push: - branches: [main] pull_request: branches: [main] workflow_call: concurrency: - group: validate-${{ github.ref }} + group: validate-${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..521a9f7 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true