Skip to content

Commit

Permalink
Update build action (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
3keyroman authored Sep 4, 2024
1 parent 0f1fec4 commit 98598de
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ on:
workflow_dispatch:

jobs:
checks:
if: github.event_name != 'push'
name: Test build
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -22,16 +21,3 @@ jobs:
npm install
npm run lint
npm run build
build:
if: github.event_name != 'pull_request'
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 98598de

Please sign in to comment.