File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 71
71
- name : Install dependencies
72
72
run : npm ci
73
73
- run : npm run madge:circular
74
+ check-docker :
75
+ name : Docker Build
76
+ timeout-minutes : 5
77
+ runs-on : ubuntu-18.04
78
+ steps :
79
+ - uses : actions/checkout@v2
80
+ - name : Use Node.js ${{ matrix.NODE_VERSION }}
81
+ uses : actions/setup-node@v1
82
+ with :
83
+ node-version : ${{ matrix.node-version }}
84
+ - name : Cache Node.js modules
85
+ uses : actions/cache@v2
86
+ with :
87
+ path : ~/.npm
88
+ key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
89
+ restore-keys : |
90
+ ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
91
+ - name : Install dependencies
92
+ run : npm ci
93
+ - name : Build docker image
94
+ uses : docker/build-push-action@v2
95
+ with :
96
+ push : false
97
+ tags : user/app:latest
74
98
check-mongo :
75
99
strategy :
76
100
matrix :
You can’t perform that action at this time.
0 commit comments