diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..da46d92 --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 2f3f1b2..1826ac5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@

FortuneSheet

FortuneSheet is an online spreedsheet component library that provides out-of-the-box features just like Excel

+

+ + + +

-English | [简体中文](./README-zh.md) + +

English | [简体中文](./README-zh.md)

## Purpose diff --git a/yarn.lock b/yarn.lock index 409c475..41153bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12099,7 +12099,7 @@ jsprim@^1.2.2: jstat@^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== "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.2.1: