Skip to content

Commit ed4813c

Browse files
committed
fix: add build step to ci
1 parent ab2d970 commit ed4813c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/chunk-generator.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
node-version: "22"
2121
- name: Install dependencies
2222
run: npm ci
23+
- name: Build TryItNow
24+
working-directory: ./packages/try-it-now
25+
run: npm run build
2326
- name: Lint
2427
working-directory: ./packages/chunk-generator
2528
run: npm run lint

packages/try-it-now/src/hooks/useTranspiledCode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
} from "@codesandbox/sandpack-client";
77
import { useEffect, useState } from "react";
88

9-
function getTranspiledCode(client: SandpackClient): string | null {
9+
const getTranspiledCode = (client: SandpackClient): string | null => {
1010
if (!client) return null;
1111

1212
const bundlerState = client[

0 commit comments

Comments
 (0)