mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 08:42:26 -05:00
[chore/frontend] CI steps for frontend stuff (#997)
* re-add eslint
* fix oauth url getting too long
* actually attach single emoji get and delete routes
* basic emoji details + deletion using rtk query
* refactor emoji upload to rtk query
* clean up old redux api+reducers for custom emoji
* fix validation order
* refactor custom emoji form fields
* remove unused requires
* cleanup, fix most eslint errors
* more small eslint fixes
* eslint & web bundle in CI
* fix directories, move lint+build to scripts
* working dirs
* test linter and build errors
* upgrade skulk for better error handling
* Revert "test linter and build errors"
This reverts commit dc047d5b44.
* fix max emoji size
* tiny bit of function documentation
* sign drone.yml
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
parent
ad08c6c229
commit
ebff71f77a
4 changed files with 49 additions and 6 deletions
39
.drone.yml
39
.drone.yml
|
|
@ -44,6 +44,43 @@ steps:
|
|||
include:
|
||||
- pull_request
|
||||
|
||||
- name: web-setup
|
||||
image: node:14-alpine
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
volumes:
|
||||
- name: yarn_cache
|
||||
path: /tmp/cache
|
||||
commands:
|
||||
- cd web/source
|
||||
- yarn --frozen-lockfile --cache-folder /tmp/cache
|
||||
|
||||
- name: web-lint
|
||||
image: node:14-alpine
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
depends_on:
|
||||
- web-setup
|
||||
commands:
|
||||
- cd web/source
|
||||
- yarn run lint
|
||||
|
||||
- name: web-build
|
||||
image: node:14-alpine
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
- pull_request
|
||||
depends_on:
|
||||
- web-setup
|
||||
commands:
|
||||
- cd web/source
|
||||
- yarn run build
|
||||
|
||||
- name: snapshot
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.0.7 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||
volumes:
|
||||
|
|
@ -146,6 +183,6 @@ steps:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 86caf3c98d6135ac53e05b728e999d03f8b35606f1b5bab63c2c521bf5084173
|
||||
hmac: db02a09af7262a2bab5a0cb4bfd82fa7e1dc566c29e55e6e0808e8f1dc92803b
|
||||
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue