fix directories, move lint+build to scripts

This commit is contained in:
f0x 2022-11-07 20:29:05 +00:00
commit 2297d7f65f
2 changed files with 8 additions and 3 deletions

View file

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