feat: add cache (#2)
* ci: remove main workflow ci: add pr workflow to branch next * docs: correct readme ci: add docker build on release ci: add lint and test to release flow * feat: add cache for both memory and redis refactor: cleanup getAccountability nested promise refactor: import path for get-auth-providers.ts docs: document cache options ci: add redis file to gitignore * ci: use test:coverage for testing to update pr --------- Co-authored-by: Krise <krise86@users.noreply.github.com>
This commit is contained in:
8
.github/workflows/pr.yml
vendored
8
.github/workflows/pr.yml
vendored
@@ -2,7 +2,9 @@ name: Pull Request
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches:
|
||||
- main
|
||||
- next
|
||||
|
||||
jobs:
|
||||
check:
|
||||
@@ -27,8 +29,10 @@ jobs:
|
||||
name: install dependencies
|
||||
- run: pnpm lint
|
||||
name: linting
|
||||
- run: pnpm test
|
||||
- run: pnpm test:coverage
|
||||
name: testing
|
||||
- run: pnpm build
|
||||
name: build package
|
||||
- name: 'Report Coverage'
|
||||
if: always() # Also generate the report if tests are failing
|
||||
uses: davelosert/vitest-coverage-report-action@v2
|
||||
Reference in New Issue
Block a user