8000 chore(github): update workflows · Kitware/vtk-js@1da90de · GitHub
[go: up one dir, main page]

Skip to content

Commit 1da90de

Browse files
committed
chore(github): update workflows
1 parent d69dde4 commit 1da90de

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-20.04]
12-
node: [18, 20]
12+
node: [20, 22]
1313
name: ${{ matrix.os }} and node ${{ matrix.node }}
1414
steps:
1515
- uses: actions/checkout@v2
@@ -38,9 +38,9 @@ jobs:
3838
run: xvfb-run --auto-servernum npm run test -- --browsers Chrome,Firefox
3939
- name: Archive test results
4040
if: github.event_name != 'merge_group' && (success() || failure())
41-
uses: actions/upload-artifact@v3
41+
uses: actions/upload-artifact@v4
4242
continue-on-error: true
4343
with:
44-
name: test-results
44+
name: test-results-${{ matrix.runs_on }}-node_${{ matrix.node }}
4545
path: Utilities/TestResults/Test-Report.html
4646
retention-days: 15

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup node
2222
uses: actions/setup-node@v1
2323
with:
24-
node-version: 20
24+
node-version: 22
2525
- name: Install dependencies
2626
run: |
2727
npm ci
@@ -38,7 +38,7 @@ jobs:
3838
run: xvfb-run --auto-servernum npm run test -- --browsers Chrome,Firefox
3939
- name: Archive test results
4040
if: always()
41-
uses: actions/upload-artifact@v3
41+
uses: actions/upload-artifact@v4
4242
with:
4343
name: test-results
4444
path: Utilities/TestResults/Test-Report.html

0 commit comments

Comments
 (0)
0