Skip to content

Commit

Permalink
bump node version in linters
Browse files Browse the repository at this point in the history
  • Loading branch information
QcFe committed Nov 26, 2024
1 parent ac380cb commit 2f2f0ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Setup nodeJS
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 18

- name: Install the packages necessary for lint checking
working-directory: ./frontend
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder image for the frontend
FROM node:14-alpine as builder
FROM node:18-alpine as builder

## Switch to an unprivileged user (avoids problems with npm)
USER node
Expand Down
6 changes: 3 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"ws": "^8.2.2"
},
"scripts": {
"start": "craco start",
"build-app": "craco build",
"start": "craco --openssl-legacy-provider start",
"build-app": "craco --openssl-legacy-provider build",
"test": "craco test",
"prepare": "cd .. && husky install frontend/.husky",
"check-format-lint": "prettier --check **/*.{ts,tsx,js,jsx,json,css,graphql} && eslint . --ext .ts --ext .tsx --ext .js --ext .jsx --max-warnings=0",
Expand Down Expand Up @@ -129,4 +129,4 @@
"eslint --max-warnings=0 --ignore-pattern=!.storybook"
]
}
}
}

0 comments on commit 2f2f0ce

Please sign in to comment.