switch ci and docker build to node 12

This commit is contained in:
Umputun
2020-08-30 21:58:48 -05:00
parent f72603d967
commit 4f135fe91b
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -20,6 +20,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.16'
- run: npm ci --loglevel warn
working-directory: ./frontend
+2 -2
View File
@@ -34,7 +34,7 @@ RUN \
ls -la /build/backend/app/templates/statik.go && \
go build -o remark42 -ldflags "-X main.revision=${version} -s -w" ./app
FROM node:10.11-alpine as build-frontend-deps
FROM node:12.16-alpine as build-frontend-deps
ARG CI
ENV HUSKY_SKIP_INSTALL=true
@@ -44,7 +44,7 @@ ADD frontend/package.json /srv/frontend/package.json
ADD frontend/package-lock.json /srv/frontend/package-lock.json
RUN cd /srv/frontend && CI=true npm ci --loglevel warn
FROM node:10.11-alpine as build-frontend
FROM node:12.16-alpine as build-frontend
ARG CI
ARG SKIP_FRONTEND_TEST