Skip to content

Commit

Permalink
test: always run TS-next test for test:update script
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Sep 3, 2024
1 parent 4c89e20 commit cd7c2fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/tsc/tests/typecheck.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ describe(`vue-tsc`, () => {
`);
});

test.skipIf(!process.env.GITHUB_ACTIONS)(`TypeScript - Next`, () => {
const isUpdateEvent = process.env.npm_lifecycle_event === 'test:update';
const isGithubActions = !!process.env.GITHUB_ACTIONS;

test.skipIf(!isUpdateEvent && isGithubActions)(`TypeScript - Next`, () => {
expect(
getTscOutput('next')
).toMatchInlineSnapshot(`
Expand Down

0 comments on commit cd7c2fd

Please sign in to comment.