Skip to content

Commit

Permalink
Merge branch 'development' into steven-demo-start
Browse files Browse the repository at this point in the history
  • Loading branch information
Steavy authored Feb 7, 2024
2 parents 7e9cbca + 730e768 commit a9c5244
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,31 @@ jobs:
- run: npm i
- run: npm run build

sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_DEMO }}

security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: false
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor

unit-tests:

runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
push:
branches: [ main ]
branches: [ main, development ]

jobs:
deploy:
Expand All @@ -13,5 +13,4 @@ jobs:
- uses: actions/checkout@v3
- run: docker build . -t ${{secrets.DOCKERHUB_USERNAME}}/nest-demo-app
- run: echo "${{secrets.DOCKERHUB_PASSWORD}}" | docker login -u ${{secrets.DOCKERHUB_USERNAME}} --password-stdin
- run: docker push ${{secrets.DOCKERHUB_USERNAME}}/nest-demo-app

- run: docker push ${{secrets.DOCKERHUB_USERNAME}}/nest-demo-app

0 comments on commit a9c5244

Please sign in to comment.