Skip to content
Merged
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
38 changes: 0 additions & 38 deletions .github/workflows/gitleaks.yaml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_VERSION: "24"

permissions:
contents: write # Required for semantic-release to create releases and tags
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v6
with:
node-version: "20"
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v6
with:
node-version: "20"
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -183,7 +184,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v6
with:
node-version: "20"
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm ci
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_VERSION: "24"

permissions:
contents: read
Expand All @@ -29,7 +30,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v6
with:
node-version: "20"
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -66,7 +67,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v6
with:
node-version: "20"
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm ci
Expand All @@ -92,3 +93,23 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:dev-proxy

semantic:
name: "Semantic Release Dry Run"
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v6

- name: Setup Nodejs
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm ci

- name: Semantic Release Dry Run
run: npx semantic-release --dry-run
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS modules
FROM node:24-alpine AS modules
WORKDIR /app
COPY . .
RUN adduser -u 1002 -h /home/appuser -D appuser appuser && \
Expand All @@ -15,7 +15,7 @@
ENV PORT=8080
ENV API_URI=""
ENV API_VERSION=1
ENV TOKEN=""

Check warning on line 18 in Dockerfile

View workflow job for this annotation

GitHub Actions / Docker Dev image

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

COPY --from=modules /etc/passwd /etc/passwd
COPY --from=modules /etc/group /etc/group
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.Caddy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS modules
FROM node:24-alpine AS modules
WORKDIR /app
COPY . .
RUN adduser -u 1002 -h /home/appuser -D appuser appuser && \
Expand All @@ -19,7 +19,7 @@
ENV API_URI=""
ENV SVC_URI=""
ENV API_VERSION=1
ENV TOKEN=""

Check warning on line 22 in Dockerfile.Caddy

View workflow job for this annotation

GitHub Actions / Docker Dev w/Proxy image

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV QUERY_K8S_API=""

COPY --from=modules /etc/passwd /etc/passwd
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"react-chartjs-2": "^5.3.1",
"react-dom": "19.2.0",
"react-inject-env": "^2.1.0",
"react-router-dom": "^7.11.0",
"react-router-dom": "^7.12.0",
"react-scripts": "^5.0.1",
"react-spring": "^10",
"serve": "^14.2.5",
Expand Down