Skip to content

Commit 22326d4

Browse files
authored
feat(changelog): serve /changelog from a standalone worker (anomalyco#54906)
1 parent c57c448 commit 22326d4

49 files changed

Lines changed: 1506 additions & 1185 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: deploy-changelog
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
paths:
8+
- services/changelog/**
9+
- .github/workflows/deploy-changelog.yml
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: deploy-changelog
14+
cancel-in-progress: false
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
deploy:
21+
if: github.repository == 'anomalyco/opencode' && github.ref_name == 'dev'
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
25+
26+
- uses: ./.github/actions/setup-bun
27+
28+
- name: Typecheck
29+
working-directory: services/changelog
30+
run: bun typecheck
31+
32+
- name: Test
33+
working-directory: services/changelog
34+
run: bun test
35+
36+
- name: Deploy
37+
working-directory: services/changelog
38+
run: bun run deploy
39+
env:
40+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

‎bun.lock‎

Lines changed: 305 additions & 759 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/console/app/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"@solidjs/router": "catalog:",
2121
"@solidjs/start": "catalog:",
2222
"aws4fetch": "1.0.20",
23-
"marked": "catalog:",
2423
"nitro": "3.0.1-alpha.1",
2524
"number-flow": "0.6.2",
2625
"solid-js": "catalog:",

‎packages/console/app/src/i18n/ar.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -853,10 +853,6 @@ export const dict = {
853853
"changelog.hero.subtitle": "تحديثات وتحسينات جديدة لـ OpenCode",
854854
"changelog.empty": "لم يتم العثور على مدخلات في سجل التغييرات.",
855855
"changelog.viewJson": "عرض JSON",
856-
"changelog.highlights": "أبرز التغييرات",
857-
"changelog.error": "تعذر تحميل سجل التغييرات حاليًا.",
858-
"changelog.viewOnGithub": "عرضه على GitHub",
859-
"changelog.v1": "ملاحظات إصدارات OpenCode 1 موجودة في GitHub Releases",
860856

861857
"bench.list.title": "المعيار",
862858
"bench.list.heading": "المعايير",

‎packages/console/app/src/i18n/br.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -868,10 +868,6 @@ export const dict = {
868868
"changelog.hero.subtitle": "Novas atualizações e melhorias no OpenCode",
869869
"changelog.empty": "Nenhuma entrada de changelog encontrada.",
870870
"changelog.viewJson": "Ver JSON",
871-
"changelog.highlights": "Destaques",
872-
"changelog.error": "Não foi possível carregar o changelog agora.",
873-
"changelog.viewOnGithub": "Ver no GitHub",
874-
"changelog.v1": "As notas de versão do OpenCode 1 estão no GitHub Releases",
875871

876872
"bench.list.title": "Benchmark",
877873
"bench.list.heading": "Benchmarks",

‎packages/console/app/src/i18n/da.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -861,10 +861,6 @@ export const dict = {
861861
"changelog.hero.subtitle": "Nye opdateringer og forbedringer til OpenCode",
862862
"changelog.empty": "Ingen changelog-indlæg fundet.",
863863
"changelog.viewJson": "Se JSON",
864-
"changelog.highlights": "Højdepunkter",
865-
"changelog.error": "Changeloggen kunne ikke indlæses lige nu.",
866-
"changelog.viewOnGithub": "Se den på GitHub",
867-
"changelog.v1": "Udgivelsesnoterne for OpenCode 1 findes på GitHub Releases",
868864

869865
"bench.list.title": "Benchmark",
870866
"bench.list.heading": "Benchmarks",

‎packages/console/app/src/i18n/de.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -868,10 +868,6 @@ export const dict = {
868868
"changelog.hero.subtitle": "Neue Updates und Verbesserungen für OpenCode",
869869
"changelog.empty": "Keine Changelog-Einträge gefunden.",
870870
"changelog.viewJson": "JSON ansehen",
871-
"changelog.highlights": "Highlights",
872-
"changelog.error": "Der Changelog konnte gerade nicht geladen werden.",
873-
"changelog.viewOnGithub": "Auf GitHub ansehen",
874-
"changelog.v1": "Die Release Notes für OpenCode 1 findest du auf GitHub Releases",
875871

876872
"bench.list.title": "Benchmark",
877873
"bench.list.heading": "Benchmarks",

‎packages/console/app/src/i18n/en.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -866,10 +866,6 @@ export const dict = {
866866
"changelog.hero.subtitle": "New updates and improvements to OpenCode",
867867
"changelog.empty": "No changelog entries found.",
868868
"changelog.viewJson": "View JSON",
869-
"changelog.highlights": "Highlights",
870-
"changelog.error": "The changelog could not be loaded right now.",
871-
"changelog.viewOnGithub": "View it on GitHub",
872-
"changelog.v1": "OpenCode 1 release notes are on GitHub Releases",
873869

874870
"bench.list.title": "Benchmark",
875871
"bench.list.heading": "Benchmarks",

‎packages/console/app/src/i18n/es.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -868,10 +868,6 @@ export const dict = {
868868
"changelog.hero.subtitle": "Nuevas actualizaciones y mejoras para OpenCode",
869869
"changelog.empty": "No se encontraron entradas en el registro de cambios.",
870870
"changelog.viewJson": "Ver JSON",
871-
"changelog.highlights": "Destacados",
872-
"changelog.error": "No se pudo cargar el registro de cambios en este momento.",
873-
"changelog.viewOnGithub": "Verlo en GitHub",
874-
"changelog.v1": "Las notas de la versión de OpenCode 1 están en GitHub Releases",
875871

876872
"bench.list.title": "Benchmark",
877873
"bench.list.heading": "Benchmarks",

‎packages/console/app/src/i18n/fr.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -877,10 +877,6 @@ export const dict = {
877877
"changelog.hero.subtitle": "Nouvelles mises à jour et améliorations pour OpenCode",
878878
"changelog.empty": "Aucune entrée de changelog trouvée.",
879879
"changelog.viewJson": "Voir le JSON",
880-
"changelog.highlights": "Points forts",
881-
"changelog.error": "Impossible de charger le journal des modifications pour le moment.",
882-
"changelog.viewOnGithub": "Le consulter sur GitHub",
883-
"changelog.v1": "Les notes de version d’OpenCode 1 sont sur GitHub Releases",
884880

885881
"bench.list.title": "Benchmark",
886882
"bench.list.heading": "Benchmarks",

0 commit comments

Comments
 (0)