plugin-html/.drone.yml
Miel Truyen 7f991b2b09
Some checks failed
continuous-integration/drone Build is failing
chore: reorganize complicated hooks into their own files
2024-03-28 23:48:40 +01:00

25 lines
520 B
YAML

---
kind: pipeline
type: docker
name: build
trigger:
branch:
- main
steps:
- name: build
image: node:20-alpine
environment:
NPM_TOKEN:
from_secret: NPM_TOKEN
commands:
- npm install -g pnpm
- apk add --no-cache jq
- echo -e "\n//npm.cerxes.net/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- cat ~/.npmrc
- npm profile get name --registry https://npm.cerxes.net
- pnpm install
- pnpm run build
- pnpm run ci:test
- pnpm publish --tag latest