Skip to content
Snippets Groups Projects
Commit 6aed4d47 authored by vmaubert's avatar vmaubert
Browse files

chore(node): utilise la dernière version de NodeJs 17.8.0

parent c31979b6
Branches
Tags
No related merge requests found
......@@ -30,7 +30,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.12'
node-version: '17.8'
cache: 'npm'
- name: Npm install
run: |
......
......@@ -27,7 +27,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.12'
node-version: '17.8'
cache: 'npm'
- name: Generate docs
run: |
......@@ -43,4 +43,4 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Push Docker image to the Docker Hub
run: docker push caminofr/camino-api-docs
\ No newline at end of file
run: docker push caminofr/camino-api-docs
......@@ -13,7 +13,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.12'
node-version: '17.8'
cache: 'npm'
- name: Test units
run: |
......
v16.12.0
v17.8.0
FROM node:16.12-alpine as build-stage
FROM node:17.8-alpine as build-stage
WORKDIR /app
COPY package*.json /app/
......@@ -11,7 +11,7 @@ RUN npm ci --only=prod
COPY ./ /app/
RUN npm run build -w packages/api
FROM node:16.12-alpine as production-stage
FROM node:17.8-alpine as production-stage
# redirige les logs sur le collecteur de logs docker
# cf le Dockerfile de nginx
......
#https://github.com/fabriziocucci/vuejs.org/blob/7f9aa12833c085b97a826df3ba240f7d9e069e1b/src/v2/cookbook/dockerize-vuejs-app.md
FROM node:16.12-alpine as build-stage
FROM node:17.8-alpine as build-stage
LABEL maintainer=francois.romain@beta.gouv.fr
WORKDIR /app
......@@ -14,7 +14,7 @@ RUN npm ci
COPY ./ /app/
RUN npm run build -w packages/ui
FROM node:16.12-alpine as production-stage
FROM node:17.8-alpine as production-stage
COPY --from=build-stage /app/package*.json ./
COPY --from=build-stage /app/packages/ui/package.json ./packages/ui/package.json
......
......@@ -2,8 +2,8 @@
"name": "camino",
"version": "0.38.0",
"engines": {
"node": ">=16.12.0",
"npm": ">=7.24.0"
"node": ">=17.8.0",
"npm": ">=8.5.5"
},
"description": "Le cadastre minier numérique ouvert",
"workspaces": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment