Migrate to woodpecker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Ethan Lane 2024-02-19 14:39:22 +00:00
parent ac8691b579
commit 5fe64d4fb7
2 changed files with 23 additions and 75 deletions

View file

@ -1,75 +0,0 @@
---
kind: pipeline
name: deployment
steps:
- name: build
image: node
commands:
- yarn install --frozen-lockfile
- yarn build
- name: test
image: node
commands:
- yarn test
depends_on:
- build
- name: lint
image: node
commands:
- yarn lint
depends_on:
- build
- name: deploy
image: plugins/npm
settings:
username: vylpes
password:
from_secret: npm_password
email: ethan@vylpes.com
token:
from_secret: npm_token
depends_on:
- test
- lint
trigger:
branch:
- master
event:
- push
- tag
---
kind: pipeline
name: integration
steps:
- name: build
image: node
commands:
- yarn install --frozen-lockfile
- yarn build
- name: test
image: node
commands:
- yarn test
depends_on:
- build
- name: lint
image: node
commands:
- yarn lint
depends_on:
- build
trigger:
branch:
- develop
- feature/*
- hotfix/*
- renovate/*
event:
- push

23
.woodpecker.yml Normal file
View file

@ -0,0 +1,23 @@
steps:
build:
image: node
commands:
- yarn install --frozen-lockfile
- yarn build
when:
event: push
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
lint:
image: node
commands:
- yarn lint
when:
event: push
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]
test:
image: node
commands:
- yarn test
when:
event: push
branch: [ hotfix/*, feature/*, renovate/*, develop, main ]