PGHOST: localhost
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: './.github/actions/reusable-prepare-peertube-build'
with:
- node-version: '12.x'
+ node-version: '14.x'
- uses: './.github/actions/reusable-prepare-peertube-run'
- name: Run benchmark
run: |
- node dist/scripts/benchmark.js benchmark.json
+ node dist/scripts/benchmark.js -o benchmark.json
- name: Display result
run: |
cat benchmark.json build-time.json startup-time.json
- name: Upload benchmark result
- uses: './.github/actions/reusable-deploy.yml'
+ uses: './.github/actions/reusable-deploy'
with:
source: benchmark.json build-time.json startup-time.json
destination: peertube-stats