Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: add jest github action

stevendfd461518faa
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 9a5227cb7..931ca6eca 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -43,6 +43,21 @@ jobs:
run: yarn lint
working-directory: web
+ jest-tests:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-node@v3
+ with:
+ node-version: "16"
+ cache: yarn
+ cache-dependency-path: "web/yarn.lock"
+ - run: yarn
+ working-directory: web
+ - name: Run jest
+ run: yarn test
+ working-directory: web
+
frontend-build:
runs-on: ubuntu-latest
steps: