ci: add test & benchmark

This commit is contained in:
undefined committed 2022-04-04 21:50:33 +08:00
1 parent 5c1217dc60
commit d589217a75
20 files changed
+155 -52

No files matched your search

+9 -1
View File
@@ -45,10 +45,18 @@ jobs:
- name: Build And Lint
run: |
yarn build:ui:gulp
parallel --tty -j+0 yarn ::: lint:ci lint:ui:ci build build:ui:production:webpack
parallel --tty -j+0 yarn ::: lint:ci lint:ui:ci build build:ui:production:webpack test
- name: Publish
if: ${{ github.event_name == 'push' }}
run: node build/publish.js
- name: Benchmark
run: yarn benchmark
- name: Benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Benchmark
tool: customBiggerIsBetter
output-file-path: benchmark.json
# web:
# needs: build
# permissions: