From 5feb6e5a2f5370757f390bccdcd9f64ea8e09421 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:24:04 -0800 Subject: [PATCH] Fix cache being checked in by changesets (#1103) --- .gitignore | 2 ++ packages/publisher/test/isAlreadyDeprecated.test.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 91ebe795b0..67aba1ea0b 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ packages/utils/cache !**/.vscode/settings.template.json !**/.vscode/launch.json !**/.vscode/extensions.json + +/cache diff --git a/packages/publisher/test/isAlreadyDeprecated.test.ts b/packages/publisher/test/isAlreadyDeprecated.test.ts index 88e42d1af6..a8f0d104de 100644 --- a/packages/publisher/test/isAlreadyDeprecated.test.ts +++ b/packages/publisher/test/isAlreadyDeprecated.test.ts @@ -2,7 +2,7 @@ import { NotNeededPackage } from "@definitelytyped/definitions-parser"; import { isAlreadyDeprecated } from "../src/calculate-versions"; describe("isAlreadyDeprecated", () => { - const shouldSkip = !process.env.CI; + const shouldSkip = !process.env.GITHUB_ACTIONS; (shouldSkip ? it.skip : it)("should report @types/commander as deprecated", async () => { const pkg = new NotNeededPackage("@types/commander", "commander", "2.12.2");