test: add & configure Jest

Fixes #153

Signed-off-by: Ardalan Amini <[email protected]>
This commit is contained in:
Ardalan Amini committed 2024-10-30 14:34:45 +03:30
1 parent 5f05b761d3
commit cce7f4fd60
11 files changed
+2600 -24

No files matched your search

+1 -1
View File
@@ -35,6 +35,6 @@ jobs:
env :
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prerelease: ${{ steps.changelog.outputs.prerelease }}
body : |
${{ steps.changelog.outputs.changelog }}
prerelease: ${{ steps.changelog.outputs.prerelease }}
+4 -1
View File
@@ -33,6 +33,9 @@ jobs:
- name: Check code styles
run : pnpm lint
- name: Run unit tests
run : pnpm test
- name: Build using TypeScript
run : pnpm build
@@ -50,7 +53,7 @@ jobs:
- name: Changelog
uses: ./
with:
semver: ${{ startsWith(github.ref, 'refs/tags/') }}
semver : ${{ startsWith(github.ref, 'refs/tags/') }}
mention-new-contributors: ${{ github.ref_protected }}
test-with-inputs: # make sure the action works on a clean machine without building