Skip to content

Commit

Permalink
fix: update dependencies and node (#68)
Browse files Browse the repository at this point in the history
fix: update node in workflows
  • Loading branch information
wojtekzyla committed Apr 4, 2024
1 parent 9f26c5b commit f35c614
Show file tree
Hide file tree
Showing 8 changed files with 1,503 additions and 2,300 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
cache-to: type=inline
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18.20.0"

build-backend:
name: build-backend
Expand Down Expand Up @@ -128,4 +128,4 @@ jobs:
cache-to: type=inline
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18.20.0"
2 changes: 1 addition & 1 deletion .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
strategy:
matrix:
node-version:
- 16
- 18.20.0
steps:
- uses: actions/checkout@v4
- name: Set Node.js ${{ matrix.node-version }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
cache-to: type=inline
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18"

build-backend:
name: build-backend
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
cache-to: type=inline
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18.20.0"
release:
name: Release
needs: [build-frontend, build-backend]
Expand All @@ -136,9 +136,9 @@ jobs:
with:
submodules: false
persist-credentials: false
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18.20.0"
- name: Semantic Release
id: version
uses: cycjimmy/semantic-release-action@v4.0.0
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine as build-step
FROM node:18.20-alpine3.18 as build-step
WORKDIR /frontend
ENV PATH /frontend/node_modules/.bin:$PATH
COPY package.json yarn.lock lerna.json ./
Expand Down
2 changes: 1 addition & 1 deletion frontend/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
}
},
"npmClient": "yarn",
"useWorkspaces": true
"packages": ["packages/*"]
}
8 changes: 4 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"test": "lerna run test --stream --no-sort"
},
"devDependencies": {
"lerna": "^6.6.2",
"lerna": "^8.1.2",
"prettier": "^2.0.5"
},
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=8"
"node": "18.20.0"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.1",
"mongodb": "^5.8.0",
"mongoose": "^6.4.4"
"mongodb": "^6.5.0",
"mongoose": "^8.3.0"
}
}
8 changes: 4 additions & 4 deletions frontend/packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"axios": "^1.6.8",
"css-loader": "^6.7.1",
"history": "5.3.0",
"mongodb": "^5.8.0",
"mongodb": "^6.5.0",
"qs": "6.11.2",
"react-router-dom": "6",
"scriptjs": "^2.5.9",
Expand All @@ -34,7 +34,7 @@
"devDependencies": {
"@babel/core": "^7.2.0",
"@jest/globals": "^29.6.1",
"@splunk/babel-preset": "^3.0.0",
"@splunk/babel-preset": "^4.0.0",
"@splunk/eslint-config": "^4.0.0",
"@splunk/splunk-utils": "^2.3.4",
"@splunk/stylelint-config": "^4.0.0",
Expand All @@ -48,7 +48,7 @@
"chai": "^3.5.0",
"css-loader": "^6.7.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-adapter-react-16": "^1.15.8",
"eslint": "^7.14.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
Expand Down Expand Up @@ -77,6 +77,6 @@
"styled-components": "5.1.1"
},
"engines": {
"node": ">=6"
"node": "18.20.0"
}
}
Loading

0 comments on commit f35c614

Please sign in to comment.