Drone CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Miel Truyen 2023-04-18 00:45:11 +02:00
parent 581e66c022
commit 7e259d88b9
2 changed files with 20 additions and 0 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
---
kind: pipeline
type: docker
name: build
trigger:
branch:
- main
steps:
- name: build
image: node:18-alpine
commands:
- npm install -g pnpm
- apk add --no-cache jq
- echo -e "//npm.cerxes.net/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- pnpm install
- pnpm publish --tag $(jq ".version" -r package.json)

View File

@ -23,6 +23,9 @@
"types": "./types/index.d.ts", "types": "./types/index.d.ts",
"import": "./dist/es/index.js" "import": "./dist/es/index.js"
}, },
"publishConfig": {
"registry": "https://npm.cerxes.net"
},
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"prerelease": "pnpm build", "prerelease": "pnpm build",