budget/.drone.yml
Andrew Tomaka fd75a7c6ff
All checks were successful
continuous-integration/drone/push Build is passing
Update and connect to drone (#1)
Reviewed-on: #1
2023-03-08 19:25:24 -05:00

46 lines
718 B
YAML

name: default
kind: pipeline
steps:
- name: install
image: ruby:3.2.0
volumes:
- name: bundle
path: /usr/local/bundle
commands:
- bin/bundle install --jobs=3 --retry=3
- name: autoload
image: ruby:3.2.0
volumes:
- name: bundle
path: /usr/local/bundle
commands:
- bin/rails zeitwerk:check
depends_on:
- install
- name: lint
image: ruby:3.2.0
volumes:
- name: bundle
path: /usr/local/bundle
commands:
- bin/bundle exec standardrb
depends_on:
- install
- name: test
image: ruby:3.2.0
volumes:
- name: bundle
path: /usr/local/bundle
commands:
- bin/rails assets:precompile
- bin/rails test
depends_on:
- install
volumes:
- name: bundle
temp: {}