A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
ci: add workflow for editor tests
Abdullah Atta1ed2e5586798
diff --git a/.github/workflows/editor.tests.yml b/.github/workflows/editor.tests.ymlnew file mode 100644index 000000000..7eb4061f3--- /dev/null+++ b/.github/workflows/editor.tests.yml@@ -0,0 +1,54 @@+name: Test @notesnook/editor++on:+ workflow_dispatch:+ push:+ branches:+ - "master"+ paths:+ - "packages/editor/**"+ # re-run workflow if workflow file changes+ - ".github/workflows/editor.tests.yml"+ pull_request:+ types:+ - "ready_for_review"+ - "opened"+ - "synchronize"+ - "reopened"++jobs:+ build:+ name: Build+ runs-on: ubuntu-latest+ steps:+ - name: Checkout+ uses: actions/checkout@v3++ - name: Setup Node+ uses: actions/setup-node@v3+ with:+ node-version: 16.x+ cache: "npm"+ cache-dependency-path: |+ apps/mobile/package-lock.json+ apps/web/package-lock.json+ packages/core/package-lock.json+ packages/crypto/package-lock.json+ packages/crypto-worker/package-lock.json+ packages/editor-mobile/package-lock.json+ packages/editor/package-lock.json+ packages/logger/package-lock.json+ packages/streamable-fs/package-lock.json+ packages/theme/package-lock.json++ - name: Install packages+ run: |+ npm i --ignore-scripts --prefer-offline --no-audit+ npx lerna bootstrap --ignore=@notesnook/mobile -- --prefer-offline --no-audit++ - name: Setup environment+ run: |+ echo "NX_CLOUD_ACCESS_TOKEN=${{ secrets.NX_CLOUD_ACCESS_TOKEN }}" >> $GITHUB_ENV++ - name: Run all @notesnook/core tests+ run: npx nx test @notesnook/editor