Pipeline and build cleanup
This commit is contained in:
13
.drone.yml
13
.drone.yml
@@ -7,7 +7,7 @@ workspace:
|
||||
|
||||
steps:
|
||||
- name: yarn install
|
||||
image: node:latest
|
||||
image: node:20-bullseye-slim
|
||||
environment:
|
||||
YARN_VERSION: 3.5.0
|
||||
commands:
|
||||
@@ -46,7 +46,7 @@ steps:
|
||||
- name: Build
|
||||
image: node:latest
|
||||
commands:
|
||||
- yarn build
|
||||
- yarn build:production
|
||||
- name: Send Build Status Notifications
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
@@ -85,24 +85,25 @@ workspace:
|
||||
|
||||
steps:
|
||||
- name: Build
|
||||
image: node:latest
|
||||
image: node:20-bullseye-slim
|
||||
environment:
|
||||
YARN_VERSION: 3.5.0
|
||||
commands:
|
||||
- yarn set version stable
|
||||
- yarn install
|
||||
- yarn build
|
||||
- yarn build:production
|
||||
volumes:
|
||||
- name: yarnrc
|
||||
path: /drone/auth/.yarnrc.yml
|
||||
- name: Publish NPM
|
||||
image: node:20-alpine
|
||||
failure: ignore
|
||||
image: node:20-bullseye-slim
|
||||
commands:
|
||||
- yarn npm publish
|
||||
volumes:
|
||||
- name: npmrc
|
||||
path: /drone/auth/.npmrc
|
||||
- name: yarnrc
|
||||
path: /drone/auth/.yarnrc.yml
|
||||
- name: Report NPM Publish Status
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user