Skip to content

Commit

Permalink
test(errors): it adds missing unit tests for custom errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danilolmc committed Feb 8, 2024
1 parent c68b0e7 commit 1177c74
Show file tree
Hide file tree
Showing 21 changed files with 1,553 additions and 45 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main
- beta
pull_request:
branches:
- main
jobs:
release:
name: Release
Expand All @@ -23,8 +26,11 @@ jobs:
run: npm ci --ignore-scripts

- name: Build
run: npm run build --if-present

run: npm run build

- name: Test
run: npm run test

- name: Create Zip
run: mkdir temp && zip -r temp/zaity.zip lib package.json LICENSE

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
- ci/**
pull_request:
branches:
- main
- develop

jobs:
Expand All @@ -31,4 +30,7 @@ jobs:
run: npm ci --ignore-scripts

- name: Build
run: npm run build --if-present
run: npm run build

- name: Test
run: npm run test
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test
Loading

0 comments on commit 1177c74

Please sign in to comment.