Skip to content

Commit

Permalink
Oppgrader til node v22
Browse files Browse the repository at this point in the history
  • Loading branch information
nattaphongklinjan committed Nov 6, 2024
1 parent 550fe02 commit 6c09efe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-node@v3
if: steps.node_modules.outputs.cache-hit != 'true'
with:
node-version: "18.x"
node-version: "20.x"
cache: "npm"
registry-url: "https://npm.pkg.github.com"

Expand All @@ -38,7 +38,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"

- name: Cache node_modules
uses: actions/cache@v4
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "20.x"

- name: Cache node_modules
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.17.1
v22.0.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS runtime
FROM node:22-alpine AS runtime

WORKDIR /usr/src/app

Expand Down

0 comments on commit 6c09efe

Please sign in to comment.