]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .github/workflows/benchmark.yml
Prefer video studio instead of video edition
[github/Chocobozzz/PeerTube.git] / .github / workflows / benchmark.yml
index f02b88a4215f9e71ee5b0e50951f67107e3a4a77..2566f5ba86f9f713eb4bfd3aed47f6ae2a1bef22 100644 (file)
@@ -31,11 +31,11 @@ jobs:
       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'
 
@@ -71,14 +71,14 @@ jobs:
 
       - 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