Switched license generation to cache registry and pnpm
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nicolai Ort 2023-03-15 13:34:14 +01:00
parent 3a576d1073
commit 0a6d92a1f3
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -29,8 +29,9 @@ steps:
depends_on: ["clone"] depends_on: ["clone"]
image: registry.odit.services/hub/library/node:19.7.0-alpine3.16 image: registry.odit.services/hub/library/node:19.7.0-alpine3.16
commands: commands:
- yarn - npm config set registry http://npm-cache.drone.svc.cluster.local:8080 && npm i -g pnpm
- yarn licenses:export - pnpm i
- pnpm licenses:export
- name: push new licenses file to repo - name: push new licenses file to repo
depends_on: ["run full license export"] depends_on: ["run full license export"]
image: appleboy/drone-git-push image: appleboy/drone-git-push