ci: skip builds if unneeded
This commit is contained in:
parent
1b8748bc8c
commit
09ef642905
1 changed files with 11 additions and 0 deletions
|
@ -52,6 +52,17 @@ default:
|
|||
|
||||
build_test:
|
||||
stage: test
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'push' || $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
changes:
|
||||
paths:
|
||||
- packages/**/*
|
||||
- scripts/**/*
|
||||
- locales/**/*
|
||||
- package.json
|
||||
- pnpm-lock.yaml
|
||||
- Cargo.toml
|
||||
- Cargo.lock
|
||||
script:
|
||||
- pnpm install --frozen-lockfile
|
||||
- pnpm run build:debug
|
||||
|
|
Loading…
Reference in a new issue