Skip to content

Commit a9a03b8

Browse files
committed
cleanup
1 parent 9680065 commit a9a03b8

8 files changed

+6
-12
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
name: Checks
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
14+
container: lironavon/docker-puppeteer-container:14.16.0
1415
steps:
1516
- name: Checkout Repo
1617
uses: actions/checkout@v3
@@ -35,18 +36,8 @@ jobs:
3536
restore-keys: |
3637
${{ runner.os }}-yarn-
3738
38-
- name: Use node_modules cache
39-
id: node-modules-cache
40-
uses: actions/cache@v3
41-
with:
42-
path: node_modules
43-
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
44-
4539
- name: Install Dependencies
46-
if: |
47-
steps.yarn-cache.outputs.cache-hit != 'true' ||
48-
steps.node-modules-cache.outputs.cache-hit != 'true'
49-
run: yarn install --prefer-offline --frozen-lockfile --non-interactive --silent
40+
run: yarn install --frozen-lockfile --non-interactive --silent
5041

5142
- name: TypeScript
5243
run: yarn run type-check
@@ -60,6 +51,9 @@ jobs:
6051

6152
- name: Unit Tests
6253
run: TZ=Europe/London yarn run test --coverage
54+
env:
55+
TZ: Europe/London
56+
HEADLESS: true
6357

6458
- name: Build
6559
run: yarn build && yarn bundle

src/panel/__image_snapshots__/TimelineDuration - Alive

Whitespace-only changes.
Binary file not shown.

src/panel/__image_snapshots__/TimelineDuration - Network

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/setupTests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ declare const global: {
5555
// Aim to render fonts consistently between invocations
5656
const args = ["--font-render-hinting=none"];
5757
global.browser = await puppeteer.launch({
58-
args: process.env.USER === "root" ? [...args, "--no-sandbox"] : args,
58+
args: [...args, "--no-sandbox"],
5959
headless: process.env.HEADLESS !== "false",
6060
});
6161
});

0 commit comments

Comments
 (0)