mirror of
https://github.com/ruilisi/fortune-sheet.git
synced 2025-01-07 03:16:50 +08:00
ci: init
This commit is contained in:
parent
52a5e3ad1e
commit
e9c5604f89
62
.drone.yml
Normal file
62
.drone.yml
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: drone-cache-volume
|
||||||
|
host:
|
||||||
|
path: /var/lib/cache
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: restore-cache
|
||||||
|
image: docker.mirrors.ustc.edu.cn/meltwater/drone-cache:dev
|
||||||
|
settings:
|
||||||
|
backend: 'filesystem'
|
||||||
|
restore: true
|
||||||
|
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}'
|
||||||
|
mount:
|
||||||
|
- node_modules
|
||||||
|
volumes:
|
||||||
|
- name: drone-cache-volume
|
||||||
|
path: /tmp/cache
|
||||||
|
- name: install-pkgs
|
||||||
|
image: docker.mirrors.ustc.edu.cn/library/node:16.13-alpine
|
||||||
|
commands:
|
||||||
|
- yarn install --prod false --pure-lockfile --cache-folder /tmp/cache/yarn-cache
|
||||||
|
- name: lint
|
||||||
|
image: docker.mirrors.ustc.edu.cn/library/node:16.13-alpine
|
||||||
|
commands:
|
||||||
|
- yarn lint
|
||||||
|
depends_on:
|
||||||
|
- install-pkgs
|
||||||
|
- name: tsc
|
||||||
|
image: docker.mirrors.ustc.edu.cn/library/node:16.13-alpine
|
||||||
|
commands:
|
||||||
|
- yarn tsc
|
||||||
|
depends_on:
|
||||||
|
- install-pkgs
|
||||||
|
- name: test
|
||||||
|
image: docker.mirrors.ustc.edu.cn/library/node:16.13-alpine
|
||||||
|
commands:
|
||||||
|
- yarn test
|
||||||
|
depends_on:
|
||||||
|
- install-pkgs
|
||||||
|
- name: rebuild-cache
|
||||||
|
image: docker.mirrors.ustc.edu.cn/meltwater/drone-cache:dev
|
||||||
|
pull: never
|
||||||
|
settings:
|
||||||
|
backend: 'filesystem'
|
||||||
|
rebuild: true
|
||||||
|
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}'
|
||||||
|
mount:
|
||||||
|
- node_modules
|
||||||
|
volumes:
|
||||||
|
- name: drone-cache-volume
|
||||||
|
path: /tmp/cache
|
||||||
|
depends_on:
|
||||||
|
- install-pkgs
|
@ -1,8 +1,14 @@
|
|||||||
|
|
||||||
<h1 align="center">FortuneSheet</h1>
|
<h1 align="center">FortuneSheet</h1>
|
||||||
<p align="center">FortuneSheet is an online spreedsheet component library that provides out-of-the-box features just like Excel</p>
|
<p align="center">FortuneSheet is an online spreedsheet component library that provides out-of-the-box features just like Excel</p>
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://drone.ruilisi.com/ruilisi/fortune-sheet" title="Build Status">
|
||||||
|
<img src="https://drone.ruilisi.com/api/badges/ruilisi/fortune-sheet/status.svg?ref=refs/heads/master">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
English | [简体中文](./README-zh.md)
|
|
||||||
|
<p align="center">English | [简体中文](./README-zh.md)</p>
|
||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
|
@ -12099,7 +12099,7 @@ jsprim@^1.2.2:
|
|||||||
|
|
||||||
jstat@^1.9.5:
|
jstat@^1.9.5:
|
||||||
version "1.9.5"
|
version "1.9.5"
|
||||||
resolved "https://registry.npmmirror.com/jStat/-/jStat-1.9.5.tgz#9941741566f683624ddeb56f5ba60ed8c29b374e"
|
resolved "https://registry.npmmirror.com/jstat/-/jstat-1.9.5.tgz#9941741566f683624ddeb56f5ba60ed8c29b374e"
|
||||||
integrity sha512-cWnp4vObF5GmB2XsIEzxI/1ZTcYlcfNqxQ/9Fp5KFUa0Jf/4tO0ZkGVnqoEHDisJvYgvn5n3eWZbd2xTVJJPUQ==
|
integrity sha512-cWnp4vObF5GmB2XsIEzxI/1ZTcYlcfNqxQ/9Fp5KFUa0Jf/4tO0ZkGVnqoEHDisJvYgvn5n3eWZbd2xTVJJPUQ==
|
||||||
|
|
||||||
"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.2.1:
|
"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.2.1:
|
||||||
|
Loading…
Reference in New Issue
Block a user