Skip to content

Commit

Permalink
update drone build to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
wheelsandcogs committed Nov 10, 2022
1 parent 635a006 commit ca8954f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 24 deletions.
35 changes: 35 additions & 0 deletions .drone-1.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

kind: pipeline
name: default
type: kubernetes
steps:
- name: install
image: node:18
environment:
NPM_AUTH_USERNAME:
from_secret: npm_auth_username
NPM_AUTH_TOKEN:
from_secret: npm_auth_token
commands:
- npm ci
- name: test
image: node:18
environment:
NPM_AUTH_USERNAME:
from_secret: npm_auth_username
NPM_AUTH_TOKEN:
from_secret: npm_auth_token
commands:
- npm test
- name: publish
image: node:18
environment:
NPM_AUTH_USERNAME:
from_secret: npm_auth_username
NPM_AUTH_TOKEN:
from_secret: npm_auth_token
commands:
- npm publish
when:
event:
- tag
24 changes: 0 additions & 24 deletions .drone.yml

This file was deleted.

0 comments on commit ca8954f

Please sign in to comment.