From a5894a5c7ccfba9644646eaf77cc177aea8c8191 Mon Sep 17 00:00:00 2001 From: Adam Thompson-Sharpe Date: Mon, 17 Oct 2022 14:43:53 -0400 Subject: [PATCH] fix: Fix problems with support-window workflow & script (#62526) --- .github/workflows/support-window.yml | 3 +-- scripts/support-window.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/support-window.yml b/.github/workflows/support-window.yml index cb947e4fba..bfb89f7a04 100644 --- a/.github/workflows/support-window.yml +++ b/.github/workflows/support-window.yml @@ -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 | diff --git a/scripts/support-window.js b/scripts/support-window.js index 2497d0cb24..484c581e3c 100644 --- a/scripts/support-window.js +++ b/scripts/support-window.js @@ -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;