@@ -14,12 +14,12 @@ jobs:
1414 runs-on : ubuntu-latest
1515 strategy :
1616 matrix :
17- node-version : [ 14.x ]
17+ node-version : [14.x]
1818
1919 steps :
20- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v4
2121 - name : Use Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v1
22+ uses : actions/setup-node@v4
2323 with :
2424 node-version : ${{ matrix.node-version }}
2525 - name : Install dependencies
@@ -32,13 +32,13 @@ jobs:
3232
3333 strategy :
3434 matrix :
35- os : [ ubuntu-latest ]
36- node-version : [ 14.x ]
35+ os : [ubuntu-latest]
36+ node-version : [14.x]
3737
3838 steps :
39- - uses : actions/checkout@v2
39+ - uses : actions/checkout@v4
4040 - name : Use Node.js ${{ matrix.node-version }}
41- uses : actions/setup-node@v1
41+ uses : actions/setup-node@v4
4242 with :
4343 node-version : ${{ matrix.node-version }}
4444 - name : Install dependencies
@@ -51,13 +51,13 @@ jobs:
5151
5252 strategy :
5353 matrix :
54- os : [ ubuntu-latest ]
55- node-version : [ 14.x ]
54+ os : [ubuntu-latest]
55+ node-version : [14.x]
5656
5757 steps :
58- - uses : actions/checkout@v2
58+ - uses : actions/checkout@v4
5959 - name : Use Node.js ${{ matrix.node-version }}
60- uses : actions/setup-node@v1
60+ uses : actions/setup-node@v4
6161 with :
6262 node-version : ${{ matrix.node-version }}
6363 - name : Install dependencies
@@ -67,17 +67,17 @@ jobs:
6767
6868 release :
6969 runs-on : ubuntu-latest
70- needs : [ lint, test-front, test-server ]
70+ needs : [lint, test-front, test-server]
7171 if : ${{ github.event_name != 'pull_request' && contains(github.ref, 'master') }}
7272
7373 strategy :
7474 matrix :
75- node-version : [ 14.x ]
75+ node-version : [14.x]
7676
7777 steps :
78- - uses : actions/checkout@v2
78+ - uses : actions/checkout@v4
7979 - name : Use Node.js ${{ matrix.node-version }}
80- uses : actions/setup-node@v1
80+ uses : actions/setup-node@v4
8181 with :
8282 node-version : ${{ matrix.node-version }}
8383 - name : Install dependencies
8888 GH_TOKEN : ${{ secrets.GH_TOKEN }}
8989 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
9090 run : yarn release
91- - uses : actions/upload-artifact@v2
92- with :
93- name : packages
94- path : |
95- package.json
96- packages/*/package.json
97-
98- deploy-integ :
99- runs-on : ubuntu-latest
100- needs : [lint, test-front, test-server]
101- if : ${{ github.event_name != 'pull_request' && !contains(github.ref, 'master') && !contains(github.ref, 'staging')}}
102-
103- strategy :
104- matrix :
105- node-version : [ 14.x ]
106-
107- steps :
108- - uses : actions/checkout@v2
109-
110- - name : Use Node.js ${{ matrix.node-version }}
111- uses : actions/setup-node@v1
112- with :
113- node-version : ${{ matrix.node-version }}
114-
115- - name : Login to Heroku Container Registry
116- env :
117- HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
118- run : heroku container:login
119-
120- - name : Build and push
121- env :
122- HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
123- run : heroku container:push -a tsed-api-integ web
124-
125- - name : Release
126- env :
127- HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
128- run : heroku container:release -a tsed-api-integ web
129-
130- - uses : actions/upload-artifact@v2
91+ - uses : actions/upload-artifact@v4
13192 with :
13293 name : packages
13394 path : |
@@ -141,32 +102,32 @@ jobs:
141102
142103 strategy :
143104 matrix :
144- node-version : [ 14.x ]
105+ node-version : [14.x]
145106
146107 steps :
147108 - uses : actions/checkout@v2
148109
149110 - name : Use Node.js ${{ matrix.node-version }}
150- uses : actions/setup-node@v1
111+ uses : actions/setup-node@v4
151112 with :
152113 node-version : ${{ matrix.node-version }}
153114
154115 - name : Login to Heroku Container Registry
155116 env :
156117 HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
157- run : heroku container:login
118+ run : npx heroku container:login
158119
159120 - name : Build and push
160121 env :
161122 HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
162- run : heroku container:push -a tsed-api-staging web
123+ run : npx heroku container:push -a tsed-api-staging web
163124
164125 - name : Release
165126 env :
166127 HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
167- run : heroku container:release -a tsed-api-staging web
128+ run : npx heroku container:release -a tsed-api-staging web
168129
169- - uses : actions/upload-artifact@v2
130+ - uses : actions/upload-artifact@v4
170131 with :
171132 name : packages
172133 path : |
@@ -180,36 +141,36 @@ jobs:
180141
181142 strategy :
182143 matrix :
183- node-version : [ 14.x ]
144+ node-version : [14.x]
184145
185146 steps :
186- - uses : actions/checkout@v2
147+ - uses : actions/checkout@v4
187148
188149 - name : Use Node.js ${{ matrix.node-version }}
189- uses : actions/setup-node@v1
150+ uses : actions/setup-node@v4
190151 with :
191152 node-version : ${{ matrix.node-version }}
192153
193- - uses : actions/download-artifact@v2
154+ - uses : actions/download-artifact@v4
194155 with :
195156 name : packages
196157
197158 - name : Login to Heroku Container Registry
198159 env :
199160 HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
200- run : heroku container:login
161+ run : npx heroku container:login
201162
202163 - name : Build and push
203164 env :
204165 HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
205- run : heroku container:push -a tsed-api web
166+ run : npx heroku container:push -a tsed-api web
206167
207168 - name : Release
208169 env :
209170 HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
210- run : heroku container:release -a tsed-api web
171+ run : npx heroku container:release -a tsed-api web
211172
212- - uses : actions/upload-artifact@v2
173+ - uses : actions/upload-artifact@v4
213174 with :
214175 name : packages
215176 path : |
0 commit comments