Skip to content

Commit 8cdab4e

Browse files
committed
feat: add TypeScript support and testing setup
- Introduced TypeScript configuration files (tsconfig.json, tsconfig.build.json) - Added Vitest configuration for testing (vitest.config.ts) - Created initial test file (index.test.ts) with a basic test case - Updated package.json scripts for TypeScript build and testing - Refactored ESLint configuration to support TypeScript - Implemented main action logic in TypeScript (index.ts)
1 parent da4bc38 commit 8cdab4e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dist/
2+
node_modules/
3+
example/
4+
*.d.ts
5+
*.d.ts.map
6+
*.js.map
7+
coverage/

test/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ describe('vercel-action', () => {
44
it('should pass basic test', () => {
55
expect(true).toBe(true);
66
});
7-
});
7+
});

0 commit comments

Comments
 (0)