ref: split out type-check step + fix tsc error

This commit is contained in:
Nicholas Tindle
2025-01-28 15:31:52 +00:00
parent 9b2bd756fa
commit 00f0311dd0
2 changed files with 16 additions and 0 deletions

View File

@@ -37,6 +37,21 @@ jobs:
run: |
yarn lint
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "21"
- name: Install dependencies
run: |
yarn install --frozen-lockfile
- name: Run tsc check
run: |
yarn type-check

View File

@@ -174,6 +174,7 @@ export default function PrivatePage() {
{
oauth2: "OAuth2 credentials",
api_key: "API key",
user_password: "Username & password",
}[cred.type]
}{" "}
- <code>{cred.id}</code>