Skip to content

Commit 9f9b280

Browse files
Merge pull request #339 from preactjs/build-error
2 parents 2a12ad3 + 9f3a211 commit 9f9b280

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88

9-
strategy:
10-
matrix:
11-
node-version: [14.x]
12-
139
steps:
14-
- uses: actions/checkout@v1
15-
- name: Use Node.js ${{ matrix.node-version }}
16-
uses: actions/setup-node@v1
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
1712
with:
18-
node-version: ${{ matrix.node-version }}
13+
node-version: 16
1914
- name: Run install and tests
2015
run: |
2116
yarn
2217
yarn lint
2318
yarn test
19+
yarn build:chrome:fast
2420
PREACT_VERSION=10 yarn test-e2e --repeat-flaky 3
2521
env:
2622
CI: true

src/view/components/stats/StatsPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { useObserver, useStore } from "../../store/react-bindings";
33
import s from "./StatsPanel.module.css";
44
import s2 from "../profiler/components/ProfilerInfo/ProfilerInfo.module.css";
55
import { SingleLayout } from "../SidebarLayout";
6-
import { ParsedStats } from "../../../adapter/10/stats";
76
import { Actions } from "../Actions";
87
import { IconBtn } from "../IconBtn";
98
import { RecordIcon, Refresh, NotInterested } from "../icons";
109
import { useCallback } from "preact/hooks";
10+
import { ParsedStats } from "../../../adapter/shared/stats";
1111

1212
function parseChildrenMap(data: Map<number, number>): Children {
1313
const children: Children = [0, 0, 0, 0, 0];

0 commit comments

Comments
 (0)