Skip to content

Commit d08df7d

Browse files
authored
Conversion to "modern" Svelte (#239)
* Conversion to "modern" Svelte * Upgrading from Svelte 4 to 5 * Upgrading to SvelteKit 2 * Other upgrades * More migration to svelte-headlessui * More things are working * Use url params * Fixed URLs for compliance view * Updated lockfile * Fixed Dockerfile
1 parent b342c30 commit d08df7d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3828
-5376
lines changed

.github/workflows/build.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18+
- uses: pnpm/action-setup@v4
19+
with:
20+
version: 10
1821
- name: Use Node.js ${{ matrix.node-version }}
1922
uses: actions/setup-node@v3
2023
with:
21-
node-version: '20'
22-
cache: 'npm'
23-
- run: npm ci
24-
- run: npm run build
24+
node-version: '22'
25+
cache: 'pnpm'
26+
- run: pnpm install
27+
- run: pnpm run build
2528
build-docker:
2629
runs-on: ubuntu-latest
2730
steps:

Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
FROM node:18-alpine AS build
1+
FROM node:22-alpine AS build
22

33
WORKDIR /app
44
COPY package*.json ./
5-
RUN npm ci
5+
RUN npm install -g pnpm
6+
RUN pnpm install
67
COPY . .
7-
RUN npm run build
8+
RUN pnpm run build
89

910
FROM node:alpine AS deploy-node
1011
WORKDIR /app

0 commit comments

Comments
 (0)