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 <[email protected]>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user