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 7171 - name : Install dependencies
7272 run : npm ci
7373 - 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
7498 check-mongo :
7599 strategy :
76100 matrix :
You can’t perform that action at this time.
0 commit comments