working dirs

This commit is contained in:
f0x 2022-11-07 20:32:07 +00:00
parent 2297d7f65f
commit b817df6933

View file

@ -54,7 +54,8 @@ steps:
- name: yarn_cache - name: yarn_cache
path: /tmp/cache path: /tmp/cache
commands: commands:
- yarn --frozen-lockfile --cache-folder /tmp/cache web/source - cd web/source
- yarn --frozen-lockfile --cache-folder /tmp/cache
- name: web-lint - name: web-lint
image: node:14-alpine image: node:14-alpine
@ -65,7 +66,8 @@ steps:
depends_on: depends_on:
- web-setup - web-setup
commands: commands:
- cd web/source && yarn run lint - cd web/source
- yarn run lint
- name: web-build - name: web-build
image: node:14-alpine image: node:14-alpine
@ -76,7 +78,8 @@ steps:
depends_on: depends_on:
- web-setup - web-setup
commands: commands:
- cd web/source && yarn run build - cd web/source
- yarn run build
- name: snapshot - name: snapshot
image: superseriousbusiness/gotosocial-drone-build:0.0.7 # https://github.com/superseriousbusiness/gotosocial-drone-build image: superseriousbusiness/gotosocial-drone-build:0.0.7 # https://github.com/superseriousbusiness/gotosocial-drone-build