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
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
NODE_VERSION: "26.12.1"
NODE_VERSION: "26.13.1"
PNPM_VERSION: "12.15.0"

concurrency:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
run: bash scripts/check-sqlite-runtime.sh

- name: Check reachable Go vulnerabilities
run: go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
run: go run golang.org/x/vuln/cmd/govulncheck@v1.9.0 ./...

- name: Check gofmt
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Deadcode
run: |
output_file=$(mktemp)
go run golang.org/x/tools/cmd/deadcode@v0.51.0 -test ./... > "$output_file"
go run golang.org/x/tools/cmd/deadcode@v0.52.0 -test ./... > "$output_file"
if [ -s "$output_file" ]; then
cat "$output_file"
exit 1
Expand All @@ -94,12 +94,12 @@ jobs:
persist-credentials: false

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
Expand Down Expand Up @@ -146,14 +146,14 @@ jobs:
persist-credentials: false

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24.22.1"
node-version: "24.22.3"
cache: pnpm

- name: Install dependencies
Expand Down Expand Up @@ -185,12 +185,12 @@ jobs:
cache: true

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
Expand All @@ -206,7 +206,7 @@ jobs:

- name: Upload browser failure artifacts
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-results
path: test-results/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ jobs:
cache: false

- name: Initialize CodeQL
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
dependency-caching: true

- name: Build Go source
if: matrix.build-mode == 'autobuild'
uses: github/codeql-action/autobuild@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/autobuild@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3

- name: Analyze
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
category: /language:${{ matrix.language }}
6 changes: 3 additions & 3 deletions .github/workflows/crabbox-hydrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ permissions:
contents: read

env:
NODE_VERSION: "26.12.1"
NODE_VERSION: "26.13.1"
PNPM_VERSION: "12.15.0"

jobs:
Expand All @@ -48,11 +48,11 @@ jobs:
go-version-file: go.mod
cache: true

- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
NODE_VERSION: "26.12.1"
NODE_VERSION: "26.13.1"
PNPM_VERSION: "12.15.0"
CSC_IDENTITY_AUTO_DISCOVERY: "false"

Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
arch -x86_64 /usr/bin/true

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
Expand All @@ -106,7 +106,7 @@ jobs:
./scripts/windows-signing.test.ps1 -UnsignedReleaseDirectory release -Version 0.0.0 -VendorElevate $vendorElevate

- name: Upload unsigned preview installers
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: ${{ matrix.artifact }}
path: ${{ matrix.files }}
Expand Down Expand Up @@ -145,13 +145,13 @@ jobs:
Assert-WindowsSigningInputs

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}
cache: false

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
package-manager-cache: false
Expand All @@ -170,7 +170,7 @@ jobs:

# TrustedSigning's DefaultAzureCredential consumes this Azure CLI session.
- name: Authenticate Windows signer with OIDC
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.0.0
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand All @@ -191,7 +191,7 @@ jobs:
run: node apps/desktop/scripts/release-artifacts.mjs win 0.0.0-qualification apps/desktop/release

- name: Upload desktop release candidates
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: ClickClack-signing-qualification-${{ github.sha }}
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
persist-credentials: false

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "26.12.1"
node-version: "26.13.1"

- name: Build docs site
run: node scripts/build-docs-site.mjs
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
NODE_VERSION: "26.12.1"
NODE_VERSION: "26.13.1"
PNPM_VERSION: "12.15.0"

jobs:
Expand Down Expand Up @@ -46,12 +46,12 @@ jobs:
cache: true

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
Expand Down Expand Up @@ -135,13 +135,13 @@ jobs:
cache: false

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}
cache: false

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
package-manager-cache: false
Expand Down Expand Up @@ -231,13 +231,13 @@ jobs:
Assert-WindowsSigningInputs

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}
cache: false

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
package-manager-cache: false
Expand All @@ -256,7 +256,7 @@ jobs:

# TrustedSigning's DefaultAzureCredential consumes this Azure CLI session.
- name: Authenticate Windows signer with OIDC
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.0.0
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand All @@ -277,7 +277,7 @@ jobs:
run: node apps/desktop/scripts/release-artifacts.mjs win ${{ needs.authorize-source.outputs.version }} apps/desktop/release

- name: Upload desktop release candidates
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: ClickClack-desktop-win
path: |
Expand Down Expand Up @@ -328,13 +328,13 @@ jobs:
echo "version=$version" >> "$GITHUB_OUTPUT"

- name: Set up pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: ${{ env.PNPM_VERSION }}
cache: false

- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
package-manager-cache: false
Expand All @@ -358,7 +358,7 @@ jobs:
run: node apps/desktop/scripts/release-artifacts.mjs linux ${{ steps.release.outputs.version }} apps/desktop/release

- name: Upload desktop release candidates
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: ClickClack-desktop-linux
path: |
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
contents: write
steps:
- name: Download desktop release candidates
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: ClickClack-desktop-*
path: desktop-release
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:26.12.1-alpine@sha256:9bd229b644e391df00fb989efa732335aefc6170a05d8c163c5c8ca9870da401 AS web
FROM node:26.13.1-alpine@sha256:6bd9ab43c0ec0190ca7b2d193906cb8b7edf6e7f4afa43ddeccd6452710bffb5 AS web
RUN apk add --no-cache --upgrade ca-certificates-bundle=20261020-r0
ARG CLICKCLACK_WEB_VERSION=dev
ENV CLICKCLACK_WEB_VERSION=$CLICKCLACK_WEB_VERSION
Expand Down Expand Up @@ -26,7 +26,7 @@ COPY infra infra
COPY --from=web /src/apps/api/internal/webassets/dist apps/api/internal/webassets/dist
RUN go build -o /out/clickclack ./apps/api/cmd/clickclack

FROM alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
FROM alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf
RUN apk add --no-cache --upgrade ca-certificates-bundle=20261020-r0
RUN adduser -D -H clickclack
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.cloudflare
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:26.12.1-alpine@sha256:9bd229b644e391df00fb989efa732335aefc6170a05d8c163c5c8ca9870da401 AS web
FROM node:26.13.1-alpine@sha256:6bd9ab43c0ec0190ca7b2d193906cb8b7edf6e7f4afa43ddeccd6452710bffb5 AS web
RUN apk add --no-cache --upgrade ca-certificates-bundle=20261020-r0
ARG CLICKCLACK_WEB_VERSION=cloudflare
ENV CLICKCLACK_WEB_VERSION=$CLICKCLACK_WEB_VERSION
Expand All @@ -25,7 +25,7 @@ COPY apps/api apps/api
COPY --from=web /src/apps/api/internal/webassets/dist apps/api/internal/webassets/dist
RUN go build -o /out/clickclack ./apps/api/cmd/clickclack

FROM alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
FROM alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf
RUN apk add --no-cache --upgrade ca-certificates-bundle=20261020-r0
RUN adduser -D -H clickclack
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"electron": "43.8.12",
"electron-builder": "26.18.0",
"electron-builder": "26.18.1",
"esbuild": "0.28.2"
}
}
4 changes: 2 additions & 2 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ docker run --rm -p 8080:8080 -v clickclack-data:/app/data clickclack

Stages:

1. `node:26-alpine` — installs pnpm dependencies and runs `pnpm build`.
1. `node:26.13.1-alpine` — installs pnpm dependencies and runs `pnpm build`.
2. `golang:1.27.4-alpine` — builds the Go binary, importing the SPA dist.
3. `alpine:3.24` — runtime image, runs as the `clickclack` user, exposes
3. `alpine:3.24.4` — runtime image, runs as the `clickclack` user, exposes
`8080`, mounts `/app/data` as a volume.

Override the entrypoint command to run admin tasks:
Expand Down
Loading
Loading