Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Add mini test for lib
Browse files Browse the repository at this point in the history
  • Loading branch information
boredland committed Oct 17, 2024
1 parent 58986d8 commit 9789d0f
Show file tree
Hide file tree
Showing 5 changed files with 1,015 additions and 42 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# creates a new npm release
name: test

on:
pull_request:
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: ./.github/actions/setup-node@feat/actions-setup-node

- name: test
run: npm test -- --run
2 changes: 2 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ pre-commit:
format:
glob: "*.{ts,json,md}"
run: npm run format
stage_fixed: true
build:
glob: "*.{ts,package-lock.json}"
run: npm run build
stage_fixed: true
Loading

0 comments on commit 9789d0f

Please sign in to comment.