Skip to content

🔀 deepsource 설정 #3

🔀 deepsource 설정

🔀 deepsource 설정 #3

Workflow file for this run

name: DeepSource Code Review
on:
pull_request:
types: [opened, synchronize]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests and generate coverage
run: npm test -- --coverage
- name: Upload coverage to DeepSource
uses: deepsourcelabs/test-coverage-action@master
with:
key: javascript
coverage-file: ./coverage/lcov.info
dsn: ${{ secrets.DEEPSOURCE_DSN }}
- name: DeepSource Analyze
uses: deepsourcelabs/analyze-action@v1
with:
dsn: ${{ secrets.DEEPSOURCE_DSN }}