Skip to content

Commit

Permalink
Update dependencies and node version
Browse files Browse the repository at this point in the history
  • Loading branch information
s0hv committed Jul 15, 2023
1 parent 5026c20 commit 90d9ef1
Show file tree
Hide file tree
Showing 10 changed files with 4,709 additions and 3,620 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
working-directory: web
name: Web app tests
runs-on: ubuntu-latest
container: node:16-stretch
container: node:18-stretch

# Service containers to run with `container-job`
services:
Expand Down Expand Up @@ -53,11 +53,11 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: 7
version: 8

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml

Expand Down Expand Up @@ -131,10 +131,10 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- uses: actions/setup-node@v3.6.0
with:
node-version: '16'
node-version: '18'
cache: 'pnpm'
- name: Setup poetry
uses: abatilo/actions-poetry@v2
Expand Down Expand Up @@ -227,11 +227,11 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: 7
version: 8

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:16-stretch
FROM node:18-stretch

RUN npm install -g pnpm@^7.29
RUN npm install -g pnpm@^8

WORKDIR /app
ENV NODE_ENV production
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"license": "MIT",
"engines": {
"node": "^16",
"pnpm": ">=7.29"
"node": "^18",
"pnpm": "^8"
},
"dependencies": {
"db-migrate": "^0.11.13",
Expand Down
Loading

0 comments on commit 90d9ef1

Please sign in to comment.