mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ci: add test & benchmark
This commit is contained in:
1 parent
5c1217dc60
commit
d589217a75
20 files changed
+155
-52
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user