Files
web-ui/.drone.yml
Beatrice Dellacà 5ada69773c
Some checks failed
continuous-integration/drone/push Build is failing
update ci, datepicker, v0.1.16
2026-02-24 10:06:41 +01:00

63 lines
1.3 KiB
YAML

---
kind: pipeline
type: docker
name: web-ui-ci
trigger:
branch:
- main
- develop
event:
- push
- pull_request
steps:
- name: install
image: node:25
commands:
- npm install -g corepack@latest
- corepack enable
- corepack prepare yarn@1.22.22 --activate
- yarn install --frozen-lockfile
- name: lint
image: node:25
commands:
- npm install -g corepack@latest
- corepack enable
- corepack prepare yarn@1.22.22 --activate
- yarn lint
- name: build
image: node:25
commands:
- npm install -g corepack@latest
- corepack enable
- corepack prepare yarn@1.22.22 --activate
- yarn build
---
kind: pipeline
type: docker
name: web-ui-publish
trigger:
event:
- tag
ref:
- refs/tags/v*
steps:
- name: publish-npm
image: node:25
environment:
NEXUS_NPM_TOKEN:
from_secret: nexus_npm_token
commands:
- npm install -g corepack@latest
- corepack enable
- corepack prepare yarn@1.22.22 --activate
- yarn install --frozen-lockfile
- npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN"
- yarn publish:nexus