Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Bytt ut buffer til readablestream #237

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: "22.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: "22.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: "22.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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ Kan hentes ut av en kjørende pod i dev slik:
kubectl exec [POD] -c dp-dagpenger -- env | grep TOKEN_X >> .env.local
```

### Tester feiled på grunn av utdatert snapshots

Kjør kommendo for å generere snapshots på nytt og kjøre testen

```
npm run test -- -u
```

### Troubleshoot Husky

Husky kan slite med å finne `node` hvis man bruker div. git-klienter.
Expand Down
Loading
Loading