mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-03 18:06:13 +08:00
update config
This commit is contained in:
parent
e3bdc62d1c
commit
5d1108d635
@ -13,7 +13,13 @@ orbs:
|
||||
workflows:
|
||||
build-test-publish:
|
||||
jobs:
|
||||
- build-frontend:
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
- test:
|
||||
requires:
|
||||
- build-frontend
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
@ -27,6 +33,22 @@ workflows:
|
||||
only: /^v.*/
|
||||
|
||||
jobs:
|
||||
build-frontend:
|
||||
docker:
|
||||
- image: cimg/node
|
||||
steps:
|
||||
- checkout
|
||||
- node/install-packages:
|
||||
app-dir: ./admin-frontend
|
||||
pkg-manager: yarn
|
||||
- run:
|
||||
name: yarn build
|
||||
working_directory: ./admin-frontend
|
||||
command: yarn build
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
- "src/plugins/nonebot_hk_reporter/admin_page/dist/"
|
||||
test:
|
||||
docker:
|
||||
- image: cimg/python:3.9
|
||||
@ -38,11 +60,8 @@ jobs:
|
||||
# - run: sed -e '41,45d' -i pyproject.toml
|
||||
- python/install-packages:
|
||||
pkg-manager: poetry
|
||||
- node/install-packages:
|
||||
app-dir: ./admin-frontend
|
||||
pkg-manager: yarn
|
||||
- node/run:
|
||||
app-dir: ./adin-frontend
|
||||
app-dir: ./admin-frontend
|
||||
yarn-run: build
|
||||
- run:
|
||||
name: Coverage test
|
||||
|
Loading…
x
Reference in New Issue
Block a user