Skip to content

Commit 3d70aa4

Browse files
committed
Update PostgreSQL and NodeJS version to match production
1 parent 0605002 commit 3d70aa4

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
services:
99
db:
10-
image: postgres:16
10+
image: postgres:17
1111
env:
1212
POSTGRES_PASSWORD: postgres
1313
ports:
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Node
3535
uses: actions/setup-node@v4
3636
with:
37-
node-version: 20
37+
node-version: 22
3838
- name: Enable Corepack
3939
run: corepack enable
4040
- name: Get yarn cache directory path

docs/LOCAL_SETUP.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ sudo apt-get update
2222
sudo apt-get -y install git ca-certificates curl libpq-dev libicu-dev
2323
```
2424

25-
### Install PostgreSQL 16:
25+
### Install PostgreSQL 17:
2626

2727
**macOS:**
2828
```shell
29-
brew install postgresql@16
30-
brew services start postgresql@16
29+
brew install postgresql@17
30+
brew services start postgresql@17
3131
```
3232

3333
**Linux:**
3434
```shell
3535
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null
3636
echo "deb [arch=$(dpkg --print-architecture)] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
37-
sudo apt-get update && sudo apt-get -y install postgresql-16 postgresql-client-16
37+
sudo apt-get update && sudo apt-get -y install postgresql-17 postgresql-client-17
3838
sudo -u postgres createuser $(whoami) -ed
3939
```
4040

@@ -96,12 +96,12 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh | bash
9696
nvm -v
9797
```
9898

99-
### Install NodeJS 20 and Yarn:
99+
### Install NodeJS 22 and Yarn:
100100

101101
Reload your shell (e.g., by closing and reopening the terminal) and continue with installing Node:
102102

103103
```shell
104-
nvm install lts/iron
104+
nvm install lts/jod
105105
corepack enable
106106
```
107107

@@ -110,7 +110,7 @@ corepack enable
110110
node -v
111111
yarn -v
112112
```
113-
If you have several node versions installed, check that you are using the correct version. To view your installed versions, run `nvm list`. `lts/iron` should be the current and default version. You can adjust this by running `nvm alias default lts/iron`.
113+
If you have several node versions installed, check that you are using the correct version. To view your installed versions, run `nvm list`. `lts/jod` should be the current and default version. You can adjust this by running `nvm alias default lts/jod`.
114114

115115
### Clone the repository:
116116

provision/provision.vagrant.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ cd /home/vagrant/codeocean
44

55
######## VERSION INFORMATION ########
66

7-
postgres_version=16
8-
node_version=lts/iron
7+
postgres_version=17
8+
node_version=lts/jod
99
ruby_version=$(cat .ruby-version)
1010

1111
DISTRO="$(lsb_release -cs)"

0 commit comments

Comments
 (0)