File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 9
9
push :
10
10
branches : [main, alpha, beta]
11
11
12
- concurrency :
13
- group : ${{ github.workflow }}-${{ github.event.number || github.ref }}
14
- cancel-in-progress : true
15
-
16
12
env :
17
13
NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
18
14
SERVER_PRESET : ' node-server'
@@ -22,10 +18,13 @@ permissions:
22
18
id-token : write
23
19
24
20
jobs :
25
- test-and-publish :
26
- name : Test & Publish
21
+ test :
22
+ name : Build & Test
27
23
if : github.repository_owner == 'TanStack'
28
24
runs-on : ubuntu-latest
25
+ concurrency :
26
+ group : ${{ github.workflow }}-test-${{ github.event.number || github.ref }}
27
+ cancel-in-progress : true
29
28
steps :
30
29
- name : Checkout
31
30
40
39
- name : Stop Nx Agents
41
40
if : ${{ always() }}
42
41
run : npx nx-cloud stop-all-agents
42
+
43
+ publish :
44
+ name : Publish
45
+ if : github.repository_owner == 'TanStack'
46
+ runs-on : ubuntu-latest
47
+ needs : test
48
+ concurrency :
49
+ group : ${{ github.workflow }}-publish-${{ github.event.number || github.ref }}
50
+ cancel-in-progress : false
51
+ steps :
43
52
- name : Publish
44
53
run : |
45
54
git config --global user.name 'Tanner Linsley'
You can’t perform that action at this time.
0 commit comments