This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -13,6 +13,9 @@ steps:
|
||||
commands:
|
||||
- yarn set version stable
|
||||
- yarn install
|
||||
volumes:
|
||||
- name: yarnrc
|
||||
path: /drone/auth/.yarnrc.yml
|
||||
- name: Code Style Checks
|
||||
image: node:latest
|
||||
commands:
|
||||
@@ -60,6 +63,11 @@ steps:
|
||||
- success
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: yarnrc
|
||||
host:
|
||||
path: /volume1/docker/.yarnrc.yml
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
@@ -84,11 +92,14 @@ steps:
|
||||
- yarn set version stable
|
||||
- yarn install
|
||||
- yarn build
|
||||
volumes:
|
||||
- name: yarnrc
|
||||
path: /drone/auth/.yarnrc.yml
|
||||
- name: Publish NPM
|
||||
image: node:20-alpine
|
||||
failure: ignore
|
||||
commands:
|
||||
- yarn publish -t ${DRONE_TAG}
|
||||
- yarn npm publish
|
||||
volumes:
|
||||
- name: npmrc
|
||||
path: /drone/auth/.npmrc
|
||||
@@ -112,6 +123,9 @@ volumes:
|
||||
- name: npmrc
|
||||
host:
|
||||
path: /volume1/docker/beethoven/labs-auth/.npmrc
|
||||
- name: yarnrc
|
||||
host:
|
||||
path: /volume1/docker/.yarnrc.yml
|
||||
|
||||
depends_on:
|
||||
- Test Pipeline
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -131,4 +131,5 @@ dist
|
||||
.pnp.*
|
||||
|
||||
# Project
|
||||
/lib
|
||||
lib/
|
||||
.yarnrc.yml
|
||||
|
||||
Reference in New Issue
Block a user