Skip to content

Commit

Permalink
Merge pull request #9 from UKHomeOffice/chore/bump-drone-node
Browse files Browse the repository at this point in the history
update drone build to current format
  • Loading branch information
MaxOSullivan authored Nov 10, 2022
2 parents 635a006 + ca8954f commit ec1d871
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 ec1d871

Please sign in to comment.