1414 runs-on : ubuntu-latest
1515 strategy :
1616 matrix :
17- node-version : [ 14.x ]
17+ node-version : [16.x ]
1818
1919 steps :
2020 - uses : actions/checkout@v2
3232
3333 strategy :
3434 matrix :
35- os : [ ubuntu-latest ]
36- node-version : [ 14.x ]
35+ os : [ubuntu-latest]
36+ node-version : [16.x ]
3737
3838 steps :
3939 - uses : actions/checkout@v2
5151
5252 strategy :
5353 matrix :
54- os : [ ubuntu-latest ]
55- node-version : [ 14.x ]
54+ os : [ubuntu-latest]
55+ node-version : [16.x ]
5656
5757 steps :
5858 - uses : actions/checkout@v2
@@ -67,12 +67,12 @@ 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 : [16.x ]
7676
7777 steps :
7878 - uses : actions/checkout@v2
@@ -95,53 +95,14 @@ 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 : [16.x ]
145106
146107 steps :
147108 - uses : actions/checkout@v2
@@ -180,7 +141,7 @@ jobs:
180141
181142 strategy :
182143 matrix :
183- node-version : [ 14.x ]
144+ node-version : [16.x ]
184145
185146 steps :
186147 - uses : actions/checkout@v2
0 commit comments