fix(ci): add version tags
This commit is contained in:
+13
-13
@@ -20,9 +20,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- uses: gitea/checkout
|
- uses: gitea/checkout@v2
|
||||||
|
|
||||||
- uses: gitea/setup-node
|
- uses: gitea/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload audit artifact
|
- name: Upload audit artifact
|
||||||
if: always()
|
if: always()
|
||||||
uses: gitea/upload-artifact
|
uses: gitea/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: audit-result
|
name: audit-result
|
||||||
path: audit-result.json
|
path: audit-result.json
|
||||||
@@ -66,8 +66,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- uses: gitea/checkout
|
- uses: gitea/checkout@v2
|
||||||
- uses: gitea/setup-node
|
- uses: gitea/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- run: npm i playwright && npx playwright install --with-deps chromium
|
- run: npm i playwright && npx playwright install --with-deps chromium
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
run: node tests/perf-test.mjs 10000 50
|
run: node tests/perf-test.mjs 10000 50
|
||||||
- name: Upload perf artifact
|
- name: Upload perf artifact
|
||||||
if: always()
|
if: always()
|
||||||
uses: gitea/upload-artifact
|
uses: gitea/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: perf-result
|
name: perf-result
|
||||||
path: perf-result.json
|
path: perf-result.json
|
||||||
@@ -86,8 +86,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: gitea/checkout
|
- uses: gitea/checkout@v2
|
||||||
- uses: gitea/setup-node
|
- uses: gitea/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- run: npm i playwright && npx playwright install --with-deps chromium
|
- run: npm i playwright && npx playwright install --with-deps chromium
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
run: node tests/selfplay.mjs 50
|
run: node tests/selfplay.mjs 50
|
||||||
- name: Upload self-play artifact
|
- name: Upload self-play artifact
|
||||||
if: always()
|
if: always()
|
||||||
uses: gitea/upload-artifact
|
uses: gitea/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: selfplay-results
|
name: selfplay-results
|
||||||
path: selfplay-results.json
|
path: selfplay-results.json
|
||||||
@@ -105,16 +105,16 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: gitea/checkout
|
- uses: gitea/checkout@v2
|
||||||
- uses: gitea/setup-node
|
- uses: gitea/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: gitea/download-artifact
|
uses: gitea/download-artifact@v2
|
||||||
- name: Build HTML report
|
- name: Build HTML report
|
||||||
run: node tests/report.mjs
|
run: node tests/report.mjs
|
||||||
- name: Upload report
|
- name: Upload report
|
||||||
uses: gitea/upload-artifact
|
uses: gitea/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: report
|
name: report
|
||||||
path: report.html
|
path: report.html
|
||||||
Reference in New Issue
Block a user