fix: Fix problems with support-window workflow & script (#62526)

This commit is contained in:
Adam Thompson-Sharpe
2022-10-17 14:43:53 -04:00
committed by GitHub
parent c52afba497
commit a5894a5c7c
2 changed files with 2 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ on:
- .github/workflows/support-window.yml
- package.json
- scripts/support-window.ts
- scripts/tsconfig.json
- scripts/jsconfig.json
# Manually, when TypeScript is released
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
@@ -25,7 +25,6 @@ jobs:
#with:
# cache: npm
- run: npm install
- run: tsc --build scripts
- name: Fetch TypeScript versions and release dates from npm
run: |
npm view --json typescript time |

View File

@@ -6,7 +6,7 @@ import { utcYear } from "d3-time";
import { utcFormat } from "d3-time-format";
import { JSDOM } from "jsdom";
import serialize from "w3c-xmlserializer";
import data from "../docs/support-window.json" assert { type: "json" };
import data from "../docs/support-window.json";
const width = 640;
const height = 250;