Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): check typings in CI
Browse files Browse the repository at this point in the history
CNSeniorious000 committed Dec 16, 2024
1 parent 4b11625 commit ac53c78
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -38,4 +38,10 @@ jobs:
run: pnpm install

- name: Lint
run: pnpm lint
run: pnpm lint

- name: Astro check
run: pnpx @astrojs/check

- name: Svelte check
run: pnpx svelte-check
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ export default defineConfig({
OPENAI_API_BASE_URL: envField.string({ context: 'server', access: 'secret', default: 'https://api.openai.com' }),
TRANSCRIPT_TARGET_LANG: envField.string({ context: 'server', access: 'secret', default: 'zh' }),
TRANSCRIPT_PROMPT: envField.string({ context: 'server', access: 'secret', optional: true }),
DEEPL_AUTH_TOKEN: envField.string({ context: 'server', access: 'secret' }),
DEEPL_AUTH_TOKEN: envField.string({ context: 'server', access: 'secret', optional: true }),
DEEPL_API_HOST: envField.string({ context: 'server', access: 'secret', optional: true }),
TRANSLATE_PROVIDER: envField.enum({ values: ['deepl', 'cf'], context: 'server', access: 'secret', default: 'deepl' }),
TRANSLATE_TARGET_LANG: envField.string({ context: 'server', access: 'secret', optional: true }),

1 comment on commit ac53c78

@vercel
Copy link

@vercel vercel bot commented on ac53c78 Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.