diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26edda21..6500fd2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [22.x] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 36ab5b32..45064e48 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -14,9 +14,11 @@ jobs: - name: Setup node uses: actions/setup-node@master with: - node-version: '16.x' + node-version: '22.x' - name: Install Dependencies run: npm install + - name: Update browserlist DB + run: npx update-browserslist-db@latest - name: Build run: npm run build:staging - name: Deploy diff --git a/.github/workflows/deploy-master.yml b/.github/workflows/deploy-master.yml index 742b7cfa..cfe981ee 100644 --- a/.github/workflows/deploy-master.yml +++ b/.github/workflows/deploy-master.yml @@ -14,9 +14,11 @@ jobs: - name: Setup node uses: actions/setup-node@master with: - node-version: '16.x' + node-version: '22.x' - name: Install Dependencies run: npm install + - name: Update browserlist DB + run: npx update-browserslist-db@latest - name: Build run: npm run build - name: Deploy diff --git a/Dockerfile b/Dockerfile index 845dbd4c..c2e7884f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:13.12.0-alpine +FROM node:22.0.0-alpine WORKDIR /app/front/ diff --git a/Dockerfile.prod b/Dockerfile.prod index f3dff0fa..e092dffc 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -1,5 +1,5 @@ # create production build artifactss -FROM node:13.12.0-alpine as build +FROM node:22.0.0-alpine as build WORKDIR /app/prod/ ENV PATH /app/node_modules/.bin:$PATH