Skip to content

Commit 8575fa3

Browse files
authored
Merge pull request #87 from xandemon/feat/config-updates
config: update code-checks workflow
2 parents 22748ea + fc573d4 commit 8575fa3

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/code-checks.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: CI
22

33
on:
44
pull_request:
5-
push:
6-
branches: [main]
75

86
jobs:
97
verify:
@@ -25,8 +23,8 @@ jobs:
2523
- name: Install root dependencies
2624
run: npm ci
2725

28-
- name: Verify root package
29-
run: npm run verify:root
26+
- name: Verify icons library package
27+
run: npm run generate:icons && npm run verify:root
3028

3129
- name: Install showcase dependencies
3230
run: npm ci

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"dev:playground": "vite",
3636
"dev:showcase": "cd showcase && npm run dev",
3737
"clean": "rimraf --glob dist && rimraf --glob lib/icons/*.tsx",
38-
"build": "npm run clean && tsx ./lib/scripts/build.ts && tsc --p ./tsconfig-build.json && vite build",
38+
"generate:icons": "tsx ./lib/scripts/build.ts",
39+
"build": "npm run clean && npm run generate:icons && tsc --p ./tsconfig-build.json && vite build",
3940
"build:showcase": "cd showcase && npm run build",
4041
"format": "prettier --write .",
4142
"format:check": "prettier --check .",

playground/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
PnpmDark,
55
PnpmDarkWordmark,
66
PnpmLightWordmark,
7-
} from "../dist/main";
7+
} from "../lib/main";
88
import "./App.css";
99

1010
function App() {

showcase/src/components/ui/iconCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// import * as DI from "../../../../dist/main";
1+
// import * as DI from "../../../../lib/main";
22
import * as DI from "developer-icons";
33
import React, { useEffect, useState, type ReactNode } from "react";
44
import { Copy, Copyright, Download } from "lucide-react";

0 commit comments

Comments
 (0)