Skip to content

Commit

Permalink
Update to node 18, update mongoose to v8, use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbrucker committed Nov 30, 2023
1 parent 02dd906 commit 037442c
Show file tree
Hide file tree
Showing 5 changed files with 965 additions and 910 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Set up Node.js 16.x
uses: actions/setup-node@v2
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
node-version: 16.x
- name: yarn install
run: yarn install
version: latest
- name: Set up Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'pnpm'
- name: pnpm install
run: pnpm install
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"koa-router": "^12.0.1",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"mongoose": "^7.6.3",
"mongoose": "^8.0.2",
"qs": "^6.11.2",
"semver": "^7.5.4",
"uuid": "^9.0.1"
Expand All @@ -26,6 +26,6 @@
},
"main": "main.js",
"engines": {
"node": ">=16"
"node": ">=18"
}
}
Loading

0 comments on commit 037442c

Please sign in to comment.