clean-architecture/.drone.yml
renovate-bot 10985daefa
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): update node.js to v22.13.1 (#86)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [node](https://github.com/nodejs/node) | docker | patch | `22.13.0-slim` -> `22.13.1-slim` |
| [node](https://github.com/nodejs/node) | final | patch | `22.13.0-slim` -> `22.13.1-slim` |
| [node](https://nodejs.org) ([source](https://github.com/nodejs/node)) |  | patch | `22.13.0` -> `22.13.1` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #86
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-01-23 13:56:35 +00:00

54 lines
1.2 KiB
YAML

---
kind: pipeline
type: docker
name: test
trigger:
branch:
- main
steps:
- name: restore cache
image: 'meltwater/drone-cache:v1.4.0'
environment:
AWS_ACCESS_KEY_ID:
from_secret: minio_user
AWS_SECRET_ACCESS_KEY:
from_secret: minio_password
settings:
archive_format: gzip
bucket: clean-architecture-cache
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "yarn.lock" }}'
endpoint: minio:9000
mount:
- .yarn
path_style: true
region: us-east-1
restore: true
- name: test
image: 'node:22.13.1-slim'
commands:
- yarn set version 4.6.0
- yarn install
- yarn run jest
- name: rebuild cache
image: 'meltwater/drone-cache:v1.4.0'
environment:
AWS_ACCESS_KEY_ID:
from_secret: minio_user
AWS_SECRET_ACCESS_KEY:
from_secret: minio_password
settings:
archive_format: gzip
bucket: clean-architecture-cache
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "yarn.lock" }}'
endpoint: minio:9000
exit_code: true
mount:
- .yarn
path_style: true
rebuild: true
region: us-east-1