This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
js-feditoken/.drone.yml
Sam Therapy 1b90d8f203
All checks were successful
continuous-integration/drone/push Build is passing
Add a README
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-02-16 09:53:50 -06:00

57 lines
No EOL
732 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: dependencies
image: node
commands:
- yarn
- name: lint
image: node
depends_on:
- dependencies
commands:
- yarn lint
- name: build
image: node
depends_on:
- dependencies
commands:
- yarn build
- name: test
image: node
depends_on:
- build
commands:
- yarn test
- name: package
image: node
depends_on:
- lint
- build
- test
commands:
- yarn package
when:
event:
- tag
- name: Release
image: plugins/gitea-release
depends_on:
- package
settings:
api_key:
from_secret: release_api_key
base_url: https://git.froth.zone
files:
- dist/feditoken-*
when:
event:
- tag