Skip to content

Commit

Permalink
Improve CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Buryak committed Oct 5, 2023
1 parent b0186de commit 348b611
Show file tree
Hide file tree
Showing 3 changed files with 556 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Run linter
run: deno lint

- name: Check types
run: deno check **/*.ts

# - name: Run tests
# run: deno test -A

Expand Down
4 changes: 2 additions & 2 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const TARGETS = [
const SourceSchema = z.record(
z.string().regex(/\w+\/\d+/).toLowerCase(),
z.object({
$description: z.string(),
$oklch: z.string(),
}),
);

Expand Down Expand Up @@ -71,7 +71,7 @@ async function loadPalette(fileName: string): Promise<Palette> {
if (!result[name]) {
result[name] = {};
}
result[name][shade] = value.$description;
result[name][shade] = value.$oklch;
}

return result;
Expand Down
Loading

0 comments on commit 348b611

Please sign in to comment.