Skip to content

Commit cd7c2fd

Browse files
committed
test: always run TS-next test for test:update script
1 parent 4c89e20 commit cd7c2fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/tsc/tests/typecheck.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ describe(`vue-tsc`, () => {
1616
`);
1717
});
1818

19-
test.skipIf(!process.env.GITHUB_ACTIONS)(`TypeScript - Next`, () => {
19+
const isUpdateEvent = process.env.npm_lifecycle_event === 'test:update';
20+
const isGithubActions = !!process.env.GITHUB_ACTIONS;
21+
22+
test.skipIf(!isUpdateEvent && isGithubActions)(`TypeScript - Next`, () => {
2023
expect(
2124
getTscOutput('next')
2225
).toMatchInlineSnapshot(`

0 commit comments

Comments
 (0)