@@ -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 :
5858 - uses : actions/checkout@v2
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
@@ -95,59 +95,20 @@ jobs:
9595 package.json
9696 packages/*/package.json
9797
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
131- with :
132- name : packages
133- path : |
134- package.json
135- packages/*/package.json
136-
13798 deploy-staging :
13899 runs-on : ubuntu-latest
139100 needs : [lint, test-front, test-server]
140101 if : ${{ github.event_name != 'pull_request' && (contains(github.ref, 'staging') || contains(github.ref, 'master'))}}
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
@@ -180,13 +141,13 @@ 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
0 commit comments