File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
- name : Publish Jest Report
1
+ name : Publish jest report using 2 seperated jobs
2
2
3
3
on :
4
4
push :
@@ -10,8 +10,6 @@ permissions:
10
10
pages : write
11
11
id-token : write
12
12
13
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
14
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
15
13
concurrency :
16
14
group : " pages"
17
15
cancel-in-progress : false
41
39
name : my-artifact
42
40
path : test-results/report
43
41
44
- # Single deploy job since we're just deploying
42
+
45
43
deploy :
46
- needs : test # Ensure deploy only runs after tests complete successfully
44
+ needs : test
47
45
environment :
48
46
name : github-pages
49
47
url : ${{ steps.deployment.outputs.page_url }}
53
51
uses : actions/checkout@v4
54
52
55
53
- name : Setup Pages
56
- uses : actions/configure-pages@v3
54
+ uses : actions/configure-pages@v4
57
55
58
56
- name : Download artifacts
59
57
uses : actions/download-artifact@v4
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ permissions:
10
10
pages : write
11
11
id-token : write
12
12
13
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
14
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
15
13
concurrency :
16
14
group : " pages"
17
15
cancel-in-progress : false
40
38
run : npm run test:sanity
41
39
42
40
- name : Setup Pages
43
- uses : actions/configure-pages@v3
41
+ uses : actions/configure-pages@v4
44
42
45
43
- name : Download artifacts
46
44
uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments