Skip to content

Commit

Permalink
rename testing folder and scripts, add worklow to run typing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avfirsov committed Dec 27, 2023
1 parent c93fe66 commit 74ee305
Show file tree
Hide file tree
Showing 19 changed files with 13 additions and 6 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ jobs:
- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
- name: Run functionality tests
run: npm run test:functionality

- name: Success Message
- name: Functionality tests passed
if: success()
run: echo "Tests passed successfully!"
run: echo "Functionality tests passed!"

- name: Run typing tests
run: npm run test:typing

- name: Typing tests passed
if: success()
run: echo "Typing tests passed!"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"types": "./dist/index.d.ts",
"scripts": {
"build": "npx rimraf dist && tsc -p ./tsconfig.build.json",
"typing-tests": "tsc -p tsconfig.tests.json",
"tests": "jest"
"tests:typing": "tsc -p tsconfig.tests.json",
"tests:functionality": "jest"
},
"author": "avfirsov",
"license": "MIT",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 74ee305

Please sign in to comment.