chore: update drone.yml
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
d115b93eb1
commit
2ebe06aa35
19
.drone.yml
19
.drone.yml
@ -7,7 +7,11 @@ metadata:
|
|||||||
steps:
|
steps:
|
||||||
- name: Push/Pull translations
|
- name: Push/Pull translations
|
||||||
image: node:current-bullseye
|
image: node:current-bullseye
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /docker-cache
|
||||||
environment:
|
environment:
|
||||||
|
YARN_CACHE_FOLDER: /docker-cache/yarn
|
||||||
TOKEN:
|
TOKEN:
|
||||||
from_secret: drone_gitea
|
from_secret: drone_gitea
|
||||||
CTOKEN:
|
CTOKEN:
|
||||||
@ -26,6 +30,10 @@ steps:
|
|||||||
- git add .
|
- git add .
|
||||||
- git commit -a -m "Update translations"
|
- git commit -a -m "Update translations"
|
||||||
- git push -u origin lang
|
- git push -u origin lang
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
claim:
|
||||||
|
name: docker-cache
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
@ -64,9 +72,18 @@ metadata:
|
|||||||
steps:
|
steps:
|
||||||
- name: Test/Lint
|
- name: Test/Lint
|
||||||
image: node:current-bullseye
|
image: node:current-bullseye
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /docker-cache
|
||||||
|
environment:
|
||||||
|
YARN_CACHE_FOLDER: /docker-cache/yarn
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn workspace @snort/nostr build
|
- yarn workspace @snort/nostr build
|
||||||
- yarn workspace @snort/app test
|
- yarn workspace @snort/app test
|
||||||
- yarn workspace @snort/app eslint
|
- yarn workspace @snort/app eslint
|
||||||
- yarn workspace @snort/app prettier --check .
|
- yarn workspace @snort/app prettier --check .
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
claim:
|
||||||
|
name: docker-cache
|
Loading…
Reference in New Issue
Block a user