f14ad61bd0
* build: move build process and excalidraw-app dependencies in its own package.json * fix * fix public path * move bug-issue-template to excalidraw-app * make env vars accessible in excalidraw app * update build script * install when building * add ts ignore * fix build-version script * update config in vercel.json * add vercel config for example * fix vercel config * update install script in vercel * update install script in lint.yml * update install script in test workflows * push locales to locales folder pwa * add favicons to manifest * move react to peer deps in editor * fix ts * Enable vite intellisense * add global.d.ts for excalidraw-app * remove console.log * remove react, react-dom and vite from excalidraw-app deps * increase size limit
27 lines
657 B
YAML
27 lines
657 B
YAML
name: Test Coverage PR
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
coverage:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: "Install Node"
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "18.x"
|
|
- name: "Install Deps"
|
|
run: yarn install:deps
|
|
- name: "Test Coverage"
|
|
run: yarn test:coverage
|
|
- name: "Report Coverage"
|
|
if: always() # Also generate the report if tests are failing
|
|
uses: davelosert/vitest-coverage-report-action@v2
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|