mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-13 13:47:21 -05:00
22 lines
526 B
YAML
22 lines
526 B
YAML
stages:
|
|
- check
|
|
|
|
check:
|
|
stage: check
|
|
tags:
|
|
- saas-windows-medium-amd64
|
|
rules:
|
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
- if: '$CI_PIPELINE_SOURCE == "web"'
|
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
|
cache:
|
|
key:
|
|
files:
|
|
- package-lock.json
|
|
paths:
|
|
- node_modules/
|
|
policy: pull-push
|
|
script:
|
|
- npm ci
|
|
- Write-Host "Dependencies installed successfully."
|
|
- Write-Host "Releases and payload builds are now handled locally via 'npm run release' to save runner minutes." |