Skip to content

Commit

Permalink
๐Ÿ›Fix: deepsource-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethen1264 committed Dec 16, 2024
1 parent 3cbf733 commit daad904
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/deepsource-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,33 @@ name: DeepSource Analysis

on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
push:
branches:
- main

jobs:
analysis:
deepsource:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install dependencies
run: |
npm install
- name: Install DeepSource CLI
run: curl https://deepsource.io/cli | sh
run: |
curl -sSL https://deepsource.io/cli/install | bash
- name: Run DeepSource analysis
run: ./bin/deepsource analyze
- name: Run DeepSource Analysis
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
run: deepsource analyze

0 comments on commit daad904

Please sign in to comment.