update ci
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -15,25 +15,16 @@ steps:
|
|||||||
- name: install
|
- name: install
|
||||||
image: node:25
|
image: node:25
|
||||||
commands:
|
commands:
|
||||||
- npm install -g corepack@latest
|
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: node:25
|
image: node:25
|
||||||
commands:
|
commands:
|
||||||
- npm install -g corepack@latest
|
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn lint
|
- yarn lint
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node:25
|
image: node:25
|
||||||
commands:
|
commands:
|
||||||
- npm install -g corepack@latest
|
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn build
|
- yarn build
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -54,9 +45,6 @@ steps:
|
|||||||
NEXUS_NPM_TOKEN:
|
NEXUS_NPM_TOKEN:
|
||||||
from_secret: nexus_npm_token
|
from_secret: nexus_npm_token
|
||||||
commands:
|
commands:
|
||||||
- npm install -g corepack@latest
|
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
- npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN"
|
- npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN"
|
||||||
- yarn publish:nexus
|
- yarn publish:nexus
|
||||||
|
|||||||
Reference in New Issue
Block a user