--- include: project: infra/gitlab ref: master file: templates/nodejs.ci.yml cache: key: ${CI_COMMIT_REF_SLUG} paths: - .npm/ default: image: node:24 stages: - prepare - test - publish prepare: stage: prepare image: node:24 before_script: - npm ci --cache .npm --prefer-offline - npm install -g semantic-release@24 @semantic-release/gitlab@13 script: - npm run locale:build - npm run build artifacts: when: on_success paths: - dist expire_in: 1 day tags: - test test: stage: test image: name: cypress/included:15.13.1 entrypoint: [""] before_script: - npm ci --cache .npm --prefer-offline script: - npm run cy:run artifacts: when: on_failure paths: - cypress/screenshots/ - cypress/videos/ expire_in: 7 days except: - tags tags: - test publish: stage: publish extends: .publish_npm only: - master - beta - alpha