Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/typescript-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Typescript coverage

on: push

jobs:
typescript-coverage:
runs-on: ubuntu-latest
env:
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v2

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Setup packages
run: |
npm i
npx lerna bootstrap

- name: Run Typescript Coverage
if: ${{ always() }}
run: |
npm run typescript-coverage

- name: Save artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: Typescript Coverage Report Artifacts
path: /home/runner/work/plasma/plasma/packages/**/coverage-ts/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ cypress/videos
cypress/results
.nyc_output
coverage
coverage-ts
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build-docz": "lerna bootstrap --scope=@sberdevices/ui && lerna run docz:build",
"extract-docgen-info": "lerna run extract-docgen-info",
"lint": "eslint --ext .js,.ts,.tsx .",
"test": "lerna run test"
"test": "lerna run test",
"typescript-coverage": "lerna run typescript-coverage --no-bail"
},
"devDependencies": {
"@actions/core": "1.2.7",
Expand Down
257 changes: 257 additions & 0 deletions packages/plasma-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading