mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
eslint & web bundle in CI
This commit is contained in:
34
.drone.yml
34
.drone.yml
@@ -44,6 +44,40 @@ steps:
|
||||
include:
|
||||
- pull_request
|
||||
|
||||
- name: web-setup
|
||||
image: node:14-alpine
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
volumes:
|
||||
- name: yarn_cache
|
||||
path: /tmp/cache
|
||||
commands:
|
||||
- yarn --frozen-lockfile --cache-folder /tmp/cache
|
||||
|
||||
- name: web-lint
|
||||
image: node:14-alpine
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
depends_on:
|
||||
- web-setup
|
||||
commands:
|
||||
- eslint web/source
|
||||
|
||||
- name: web-build
|
||||
image: node:14-alpine
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
depends_on:
|
||||
- web-setup
|
||||
commands:
|
||||
- node web/source
|
||||
|
||||
- name: snapshot
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.0.7 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||
volumes:
|
||||
|
1
web/source/.eslintignore
Normal file
1
web/source/.eslintignore
Normal file
@@ -0,0 +1 @@
|
||||
node_modules
|
Reference in New Issue
Block a user