Skip to content

Commit

Permalink
upgrade node version
Browse files Browse the repository at this point in the history
  • Loading branch information
atalyaalon committed May 2, 2024
1 parent 0b16aae commit 1b82f9b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:13.12.0-alpine
FROM node:22.0.0-alpine

WORKDIR /app/front/

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 1b82f9b

Please sign in to comment.