Skip to content
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
11 changes: 4 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,17 @@ jobs:
with:
node-version: 22

- name: Set yarn version
run: yarn set version 1.22.17

- name: Install Node.js dependencies
run: yarn install --frozen-lockfile
run: npm ci

- name: ESLint
run: yarn lint:eslint
run: npm run lint:eslint

- name: Prettier
run: yarn lint:eslint
run: npm run lint:eslint

- name: TSC
run: yarn lint:typescript
run: npm run lint:typescript

- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v5
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This makes reviewing the pull request, searching through the history and reverti
Copy the `.env.example` file to `.env` and fill it with the required data.

```bash
yarn run build
npm run build
```

### Build the backend OCI image
Expand Down Expand Up @@ -132,11 +132,11 @@ You can leave the defaults for local development.
Open a terminal in the `frontend` folder and pull the packages

```bash
yarn
npm install
```

then start the frontend development server

```bash
yarn start
npm start
```
1 change: 0 additions & 1 deletion frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"search.exclude": {
"public/**": true,
"node_modules/**": true,
"**/.yarn": true,
"**/.pnp.*": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
Expand Down
8 changes: 4 additions & 4 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ FROM docker.io/node:22-alpine AS build
# Set the working directory inside the container
WORKDIR /app

# Copy package.json and yarn.lock (or package-lock.json) to the working directory
COPY package.json yarn.lock ./
# Copy package.json and package.lock (or package-lock.json) to the working directory
COPY package.json package.lock ./

# Install dependencies
RUN yarn install --frozen-lockfile
RUN npm ci

# Copy the rest of the application code to the working directory
COPY . .

# Build the application
RUN yarn build
RUN npm run build

# Use a separate Nginx base image for serving the built application
FROM docker.io/nginx:alpine
Expand Down
2 changes: 1 addition & 1 deletion frontend/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import globals from 'globals'
import tseslint from 'typescript-eslint'

export default tseslint.config([
globalIgnores(['dist', '.yarn']),
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
Expand Down
Loading