Skip to content

Commit eab6fe7

Browse files
committed
add a single job for generating test reports
1 parent 6e699d6 commit eab6fe7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/npm-publish-sites.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
outputs:
1515
matrix: ${{ steps.set-matrix.outputs.matrix }}
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- id: set-matrix
1919
run: echo "matrix=$(ls packages/sites | jq -Rsc '. / "\n" - [""]')" >> $GITHUB_OUTPUT
2020

@@ -29,8 +29,8 @@ jobs:
2929
matrix:
3030
dir: ${{fromJSON(needs.dirs.outputs.matrix)}}
3131
steps:
32-
- uses: actions/checkout@v3
33-
- uses: actions/setup-node@v3
32+
- uses: actions/checkout@v4
33+
- uses: actions/setup-node@v4
3434
with:
3535
node-version: 14
3636
cache: yarn
@@ -61,6 +61,16 @@ jobs:
6161
access: public
6262
package: packages/sites/${{ matrix.dir }}/package.json
6363
tag: ${{ env.npm_tag }}
64+
tests:
65+
name: Generate test reports
66+
runs-on: ubuntu-latest
67+
steps:
68+
- uses: actions/checkout@v4
69+
- uses: actions/setup-node@v4
70+
with:
71+
node-version: 14
72+
cache: yarn
73+
- run: yarn
6474
- run: ./tools/scripts/test-report
6575
- uses: actions/upload-artifact@v4
6676
with:

0 commit comments

Comments
 (0)