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 53093d1
Show file tree
Hide file tree
Showing 5 changed files with 1,016 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
3 changes: 3 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ pre-commit:
format:
glob: "*.{ts,json,md}"
run: npm run format
stage_fixed: true
build:
glob: "*.{ts,package-lock.json}"
run: npm run build
# yes we're actually committing the build output, because github actions works like that
stage_fixed: true
Loading

0 comments on commit 53093d1

Please sign in to comment.